How can GitHub Actions encrypted secrets be used in if: conditionals within a workflow job?
GitHub Actions encrypted secrets can be accessed in workflows using the secrets context. You can directly reference the secret within an if: conditional using ${{ secrets.MySuperSecret }} to determine whether a job or step should run based on the secret's value.
Royce
2 hours ago