From 180bb029b578014c60d51711ef246497907c3637 Mon Sep 17 00:00:00 2001 From: oysand Date: Mon, 9 Oct 2023 15:08:54 +0200 Subject: [PATCH 1/2] Update checkout action --- .github/workflows/runMigrations.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/runMigrations.yml b/.github/workflows/runMigrations.yml index 7ed1b8ea1..cb589927e 100644 --- a/.github/workflows/runMigrations.yml +++ b/.github/workflows/runMigrations.yml @@ -29,7 +29,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ inputs.CheckoutRef }} @@ -38,7 +38,7 @@ jobs: # We don't have the ref in the IssueComment trigger so we need to check out the pr number - name: Checkout Pull Request if: ${{ inputs.PullRequestCheckout }} - run: hub pr checkout ${{ github.event.issue.number }} + run: gh pr checkout ${{ github.event.issue.number }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 2677578672eb67c7b1707a83a9ca733033406c59 Mon Sep 17 00:00:00 2001 From: oysand Date: Mon, 9 Oct 2023 15:09:07 +0200 Subject: [PATCH 2/2] Update to v3 --- .github/workflows/updateDatabase.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/updateDatabase.yml b/.github/workflows/updateDatabase.yml index 4234830b0..e881ce3ee 100644 --- a/.github/workflows/updateDatabase.yml +++ b/.github/workflows/updateDatabase.yml @@ -62,13 +62,13 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: React to comment - uses: peter-evans/create-or-update-comment@v2 + uses: peter-evans/create-or-update-comment@v3 with: comment-id: ${{ github.event.comment.id }} reactions: confused, -1 - name: Add comment - uses: peter-evans/create-or-update-comment@v2 + uses: peter-evans/create-or-update-comment@v3 with: token: ${{ secrets.GITHUB_TOKEN }} issue-number: ${{ github.event.issue.number }} @@ -90,13 +90,13 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: React to comment - uses: peter-evans/create-or-update-comment@v2 + uses: peter-evans/create-or-update-comment@v3 with: comment-id: ${{ github.event.comment.id }} reactions: rocket, +1 - name: Add comment - uses: peter-evans/create-or-update-comment@v2 + uses: peter-evans/create-or-update-comment@v3 with: token: ${{ secrets.GITHUB_TOKEN }} issue-number: ${{ github.event.issue.number }} @@ -120,7 +120,7 @@ jobs: pull-requests: write steps: - name: Add comment - uses: peter-evans/create-or-update-comment@v2 + uses: peter-evans/create-or-update-comment@v3 with: token: ${{ secrets.GITHUB_TOKEN }} issue-number: ${{ github.event.issue.number }} @@ -135,7 +135,7 @@ jobs: pull-requests: write steps: - name: Add comment - uses: peter-evans/create-or-update-comment@v2 + uses: peter-evans/create-or-update-comment@v3 with: token: ${{ secrets.GITHUB_TOKEN }} issue-number: ${{ github.event.issue.number }}