From 8309492ed967f3a5d420d80e9aab832ac049b0b1 Mon Sep 17 00:00:00 2001 From: Alexander Graebe Date: Thu, 17 Dec 2020 12:53:11 -0800 Subject: [PATCH] fix: update token var --- .github/workflows/stylecheck-prs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/stylecheck-prs.yml b/.github/workflows/stylecheck-prs.yml index 58f68204..48f5bb11 100644 --- a/.github/workflows/stylecheck-prs.yml +++ b/.github/workflows/stylecheck-prs.yml @@ -9,11 +9,11 @@ jobs: steps: - name: checkout uses: actions/checkout@v2 - - name: get Changed Files + - name: get changed Files id: get_changed_files uses: lots0logs/gh-action-get-changed-files@2.1.4 with: - token: ${{ github.token }} + token: ${{ secrets.GITHUB_TOKEN }} - name: run vale uses: errata-ai/vale-action@master with: @@ -22,4 +22,4 @@ jobs: files: "${{ steps.get_changed_files.outputs.all }}" onlyAnnotateModifiedLines: true env: - GITHUB_TOKEN: ${{ github.token }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}