diff --git a/.github/workflows/calibreapp-image-actions.yml b/.github/workflows/calibreapp-image-actions.yml index 04a3a0dea..5708fefdf 100644 --- a/.github/workflows/calibreapp-image-actions.yml +++ b/.github/workflows/calibreapp-image-actions.yml @@ -35,7 +35,7 @@ jobs: github.event.pull_request.head.repo.full_name == github.repository) steps: - name: Checkout Branch - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Compress Images id: calibre uses: calibreapp/image-actions@main @@ -48,7 +48,7 @@ jobs: if: | github.event_name != 'pull_request' && steps.calibre.outputs.markdown != '' - uses: peter-evans/create-pull-request@v3 + uses: peter-evans/create-pull-request@v5 with: title: Auto Compress Images branch-suffix: timestamp diff --git a/.github/workflows/comment-links-to-changed-games-in-pull-requests.yml b/.github/workflows/comment-links-to-changed-games-in-pull-requests.yml index 0d61b96e1..8b7f9da3d 100644 --- a/.github/workflows/comment-links-to-changed-games-in-pull-requests.yml +++ b/.github/workflows/comment-links-to-changed-games-in-pull-requests.yml @@ -11,7 +11,7 @@ jobs: - name: Get changed files id: changed-game-files - uses: tj-actions/changed-files@v23.1 + uses: tj-actions/changed-files@v35 with: files: | examples/**/*.json @@ -31,7 +31,7 @@ jobs: CHANGED_GAMES_LINKS="${CHANGED_GAMES_LINKS//$'\n'/'%0A'}" CHANGED_GAMES_LINKS="${CHANGED_GAMES_LINKS//$'\r'/'%0D'}" - echo "::set-output name=changed-games-links::$CHANGED_GAMES_LINKS" + echo "changed-games-links=$CHANGED_GAMES_LINKS" >> $GITHUB_OUTPUT - name: Find the existing comment about games in the PR uses: peter-evans/find-comment@v2 @@ -42,8 +42,9 @@ jobs: body-includes: "### Preview the game(s) changed or added in this Pull Request" - name: Create or update comment - uses: peter-evans/create-or-update-comment@v2 + uses: peter-evans/create-or-update-comment@v3 with: + token: ${{ secrets.GITHUB_TOKEN }} comment-id: ${{ steps.fc.outputs.comment-id }} issue-number: ${{ github.event.pull_request.number }} body: |