Skip to content

Commit f9c076f

Browse files
authored
Remove HEAD section of run name due to NF issue
nextflow doesn't like double dashes in run names for some reason. This would occur when there was a PR from a fork rather than a branch.
1 parent dba74e3 commit f9c076f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
docker pull nfcore/eager:dev && docker tag nfcore/eager:dev nfcore/eager:dev
3333
- name: Extract branch name
3434
shell: bash
35-
run: echo "::set-env name=RUN_NAME::`echo ${GITHUB_REPOSITORY//\//_}`-`echo ${GITHUB_HEAD_REF//\//@} | rev | cut -f1 -d@ | rev`-${{ github.event_name }}-`echo ${GITHUB_SHA} | cut -c1-6`"
35+
run: echo "::set-env name=RUN_NAME::`echo ${GITHUB_REPOSITORY//\//_}`-${{ github.event_name }}-`echo ${GITHUB_SHA} | cut -c1-6`"
3636
id: extract_branch
3737
- name: Determine tower usage
3838
shell: bash

0 commit comments

Comments
 (0)