From 70e0ce025b14d86ef0675e99ffaeb8a49d3b07f9 Mon Sep 17 00:00:00 2001 From: mirpedrol Date: Mon, 13 May 2024 10:30:07 +0200 Subject: [PATCH 1/2] add space to test --- .github/workflows/version_comment.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/version_comment.yml b/.github/workflows/version_comment.yml index 1b9f904..a28fe27 100644 --- a/.github/workflows/version_comment.yml +++ b/.github/workflows/version_comment.yml @@ -1,6 +1,7 @@ name: nf-core template version comment # This workflow is triggered on PRs to check if the pipeline template version matches the latest. # It posts a comment on the PR, even if it comes from a fork. + on: pull_request_target: From a3c73e4d48d803a462b6ac0b834ef05f4b519d28 Mon Sep 17 00:00:00 2001 From: mirpedrol Date: Mon, 13 May 2024 11:30:00 +0200 Subject: [PATCH 2/2] use nf-core bot token instead of github to post comment --- .github/workflows/version_comment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/version_comment.yml b/.github/workflows/version_comment.yml index a28fe27..c96618a 100644 --- a/.github/workflows/version_comment.yml +++ b/.github/workflows/version_comment.yml @@ -32,7 +32,7 @@ jobs: if: | ${{ steps.nf_core_outdated.outputs.stdout }} =~ 'nf-core' with: - repo-token: ${{ secrets.GITHUB_TOKEN }} + repo-token: ${{ secrets.NF_CORE_BOT_AUTH_TOKEN }} allow-repeats: false message: | ## :warning: New nf-core template version available