From 2cc49b03a69123c26e2784581956404ef7f5603c Mon Sep 17 00:00:00 2001 From: lspahija Date: Wed, 20 Nov 2024 11:12:00 +0100 Subject: [PATCH] GH_TOKEN --- .github/workflows/dependabot-auto-run.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dependabot-auto-run.yml b/.github/workflows/dependabot-auto-run.yml index 2c065b2..339a844 100644 --- a/.github/workflows/dependabot-auto-run.yml +++ b/.github/workflows/dependabot-auto-run.yml @@ -10,6 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Trigger Dependabot + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - gh api -X POST /repos/${{ github.repository }}/dependabot/scans \ - --header "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file + gh api -X POST /repos/${{ github.repository }}/dependabot/scans \ No newline at end of file