Please add the secret GITHUB_TOKEN as an environment variable to your GitHub Actions workflow

Viewed 454

As the title said GitHub action is throwing me this error while I have the GITHUB_TOKEN in my workflow.yml:

env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
0 Answers
Related