diff --git a/.github/workflows/cache.yaml b/.github/workflows/cache.yaml index 630298b7..6b4dd12f 100644 --- a/.github/workflows/cache.yaml +++ b/.github/workflows/cache.yaml @@ -24,7 +24,7 @@ jobs: CONTEXT: ${{ toJson(github) }} # get trigger repo references - name: public repo reference - uses: actions/github-script@v3 + uses: actions/github-script@v6 id: set-public-result with: github-token: ${{secrets.GITHUB_TOKEN}} @@ -38,7 +38,7 @@ jobs: return result.data.object.sha - run: echo "${{ steps.set-public-result.outputs.result }}" - name: private repo reference - uses: actions/github-script@v3 + uses: actions/github-script@v6 id: set-private-result with: github-token: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }} # must be PAT diff --git a/.github/workflows/github_api.yaml b/.github/workflows/github_api.yaml index 26e131d7..ff854f41 100644 --- a/.github/workflows/github_api.yaml +++ b/.github/workflows/github_api.yaml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 3 steps: - - uses: actions/github-script@v1 + - uses: actions/github-script@v6 with: github-token: ${{secrets.GITHUB_TOKEN}} script: |