Why reference a secret this way?
DB_PASSWORD=${{ secrets.DB_PASSWORD }}
- Keep it out of the code
- Make it print in logs
- Share it with everyone
- Store it in plain git
Injecting from a secret store avoids committing credentials to the repo.
Play DevOps ▸