From d980dffbfe55deb81fafe232263bc29f6dfb624a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BAlia=20Mir=20Pedrol?= Date: Mon, 23 Jun 2025 12:40:47 +0200 Subject: [PATCH 1/2] write github.run_id on pipeline template --- nf_core/pipeline-template/.github/workflows/nf-test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nf_core/pipeline-template/.github/workflows/nf-test.yml b/nf_core/pipeline-template/.github/workflows/nf-test.yml index 9141c5cf2a..2a17e0bd74 100644 --- a/nf_core/pipeline-template/.github/workflows/nf-test.yml +++ b/nf_core/pipeline-template/.github/workflows/nf-test.yml @@ -28,7 +28,7 @@ jobs: nf-test-changes: name: nf-test-changes runs-on: #{% endraw %}{% if is_nfcore %} use self-hosted runners - - runs-on=${{ github.run_id }}-nf-test-changes + - runs-on={% raw %}${{ github.run_id }}{% endraw %}-nf-test-changes - runner=4cpu-linux-x64{% else %} use GitHub runners - "ubuntu-latest"{% endif %}{% raw %} outputs: @@ -63,7 +63,7 @@ jobs: needs: [nf-test-changes] if: ${{ needs.nf-test-changes.outputs.total_shards != '0' }} runs-on: #{% endraw %}{% if is_nfcore %} use self-hosted runners - - runs-on=${{ github.run_id }}-nf-test + - runs-on={% raw %}${{ github.run_id }}{% endraw %}-nf-test - runner=4cpu-linux-x64{% else %} use GitHub runners - "ubuntu-latest"{% endif %}{% raw %} strategy: @@ -103,7 +103,7 @@ jobs: needs: [nf-test] if: always() runs-on: {% endraw %}#{% if is_nfcore %} use self-hosted runners - - runs-on=${{ github.run_id }}-confirm-pass + - runs-on={% raw %}${{ github.run_id }}{% endraw %}-confirm-pass - runner=2cpu-linux-x64{% else %} use GitHub runners - "ubuntu-latest"{% endif %}{% raw %} steps: From a40d921426716c4df0c3bf0dd2a3ef10e34f0a9d Mon Sep 17 00:00:00 2001 From: nf-core-bot Date: Mon, 23 Jun 2025 10:42:00 +0000 Subject: [PATCH 2/2] [automated] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e305850c4..43e384df66 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ - TEMPLATE - CI - Only trigger nf-test action on pull_request ([#3628](https://github.com/nf-core/tools/pull/3628)) - TEMPLATE - Fix link to nf-test GHA in README.md ([#3630](https://github.com/nf-core/tools/pull/3630)) - TEMPLATE - Add accelerator directive for GPU-enabled processes ([#3632](https://github.com/nf-core/tools/pull/3632)) +- write github.run_id on pipeline template ([#3637](https://github.com/nf-core/tools/pull/3637)) ### Linting