From c9a56921225cddc4f20553c49f9d94058458e0fd Mon Sep 17 00:00:00 2001 From: Lars Kiesow Date: Tue, 28 May 2024 03:07:13 +0200 Subject: [PATCH] Specify version of comment acttion Instead of just specifying the main branch, this pull request specifies the latest major version of thollander/actions-comment-pull-request to use in GitHub Actions. We don't know how this action changes and tracking the default branch may cause this to break at any time. We can always update using Dependabot. --- .github/workflows/update-test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/update-test.yml b/.github/workflows/update-test.yml index 6d21ad8e8..902d55a13 100644 --- a/.github/workflows/update-test.yml +++ b/.github/workflows/update-test.yml @@ -92,9 +92,8 @@ jobs: git push origin gh-pages - name: Add comment with deployment location - uses: thollander/actions-comment-pull-request@main + uses: thollander/actions-comment-pull-request@v2 with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} message: > This pull request is deployed at [test.editor.opencast.org/${{ steps.build-path.outputs.build }}