diff --git a/.github/workflows/check-adopters.yml b/.github/workflows/check-adopters.yml index 70456d708..a88a8b343 100644 --- a/.github/workflows/check-adopters.yml +++ b/.github/workflows/check-adopters.yml @@ -23,7 +23,7 @@ jobs: - run: python3 .github/workflows/fetch-adopters.py - - uses: gr2m/create-or-update-pull-request-action@dc1726cbf4dd3ce766af4ec29cfb660e0125e8ee # v1 + - uses: gr2m/create-or-update-pull-request-action@2fa38a89a3163b6ee8a76c110d3af2d7325ea9aa # v1.9.3 env: GITHUB_TOKEN: ${{ secrets.ADOPTIUM_BOT_TOKEN }} with: diff --git a/.github/workflows/check-contributors.yml b/.github/workflows/check-contributors.yml index 205760a7b..f206389a5 100644 --- a/.github/workflows/check-contributors.yml +++ b/.github/workflows/check-contributors.yml @@ -21,9 +21,12 @@ jobs: with: persist-credentials: false - - id: files - uses: jitterbit/get-changed-files@b17fbb00bdc0c0f63fcf166580804b4d2cdc2a42 # v1 + - name: Get changed files if: github.event_name == 'push' + id: files + run: | + changed_files=$(git diff --name-only "${{ github.event.before }}" "${{ github.sha }}") + echo "all=$changed_files" >> "$GITHUB_OUTPUT" - run: pip3 install bs4 @@ -64,7 +67,7 @@ jobs: done fi - - uses: gr2m/create-or-update-pull-request-action@dc1726cbf4dd3ce766af4ec29cfb660e0125e8ee # v1 + - uses: gr2m/create-or-update-pull-request-action@2fa38a89a3163b6ee8a76c110d3af2d7325ea9aa # v1.9.3 env: GITHUB_TOKEN: ${{ secrets.ADOPTIUM_BOT_TOKEN }} with: