From 8e922069c2684e6ef45b10fc6ec4fdaa6cacca09 Mon Sep 17 00:00:00 2001 From: Anita Caron Date: Tue, 2 Jan 2024 16:22:33 -0300 Subject: [PATCH] update github actions' version (#3165) Co-authored-by: Anita Caron --- .github/workflows/diff.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/diff.yml b/.github/workflows/diff.yml index 8960237a46..dd44260b48 100644 --- a/.github/workflows/diff.yml +++ b/.github/workflows/diff.yml @@ -20,7 +20,7 @@ jobs: trigger: '#gogoeditdiff' env: GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' - - uses: docker-practice/actions-setup-docker@master + - uses: docker-practice/actions-setup-docker@1.0.12 if: steps.check.outputs.triggered == 'true' - run: | set -x @@ -30,7 +30,7 @@ jobs: run: docker pull obolibrary/odklite if: steps.check.outputs.triggered == 'true' # Checks-out current branch - - uses: xt0rted/pull-request-comment-branch@v1 + - uses: xt0rted/pull-request-comment-branch@v2.0.0 id: comment-branch - uses: actions/checkout@v3 if: steps.check.outputs.triggered == 'true' @@ -92,12 +92,11 @@ jobs: if: steps.check.outputs.triggered == 'true' - name: Post reasoned comment if: steps.check.outputs.triggered == 'true' - env: - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - uses: NejcZdovc/comment-pr@v1.1.1 + uses: NejcZdovc/comment-pr@v2.0.0 with: file: "../../comment.md" identifier: "REASONED" + github_token: ${{secrets.GITHUB_TOKEN}} - uses: actions/checkout@v3 if: steps.check.outputs.triggered == 'true' - name: Download edit diff @@ -110,12 +109,11 @@ jobs: if: steps.check.outputs.triggered == 'true' - name: Post comment if: steps.check.outputs.triggered == 'true' - env: - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - uses: NejcZdovc/comment-pr@v1.1.1 + uses: NejcZdovc/comment-pr@v2.0.0 with: file: "../../edit-comment.md" identifier: "UNREASONED" + github_token: ${{secrets.GITHUB_TOKEN}}