diff --git a/.github/workflows/_security-alerts.yml b/.github/workflows/_security-alerts.yml index 9821efb09ac7..daa320f801c6 100644 --- a/.github/workflows/_security-alerts.yml +++ b/.github/workflows/_security-alerts.yml @@ -18,7 +18,7 @@ jobs: run: | RESPONSE=$(curl \ -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer ${{ secrets.TOKEN }}" \ + -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ https://api.github.com/repos/${{ github.repository }}/dependabot/alerts?state=open) echo 'ALERTS<> $GITHUB_OUTPUT echo $RESPONSE >> $GITHUB_OUTPUT