File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -32,14 +32,16 @@ jobs:
3232 shell : bash
3333 run : |
3434 if ["${GITHUB_REPOSITORY,,}" = "novonordisk-opensource/r.workflows"]; then
35- workflow_branch="${GITHUB_REF_NAME}"
36- echo $(workflow_branch)
35+ workflow_branch="$GITHUB_REF_NAME"
36+ echo --------------------->
37+ echo $workflow_branch
38+ echo --------------------->
3739 else
3840 workflow_branch="main"
3941 fi
40- curl --output .mega-linter.yml https://raw.githubusercontent.com/NovoNordisk-OpenSource/r.workflows/${ workflow_branch} /.github/linters/.mega-linter.yml
41- curl --output .lintr https://raw.githubusercontent.com/NovoNordisk-OpenSource/r.workflows/${ workflow_branch} /.github/linters/.lintr
42- curl --output .lycheeignore https://raw.githubusercontent.com/NovoNordisk-OpenSource/r.workflows/${ workflow_branch} /.github/linters/.lycheeignore
42+ curl --output .mega-linter.yml https://raw.githubusercontent.com/NovoNordisk-OpenSource/r.workflows/$workflow_branch/.github/linters/.mega-linter.yml
43+ curl --output .lintr https://raw.githubusercontent.com/NovoNordisk-OpenSource/r.workflows/$workflow_branch/.github/linters/.lintr
44+ curl --output .lycheeignore https://raw.githubusercontent.com/NovoNordisk-OpenSource/r.workflows/$workflow_branch/.github/linters/.lycheeignore
4345 if [ -e "inst/WORDLIST" ]; then
4446 curl --output .cspell.json https://raw.githubusercontent.com/NovoNordisk-OpenSource/r.workflows/${workflow_branch}/.github/linters/.cspell-wordlist.json
4547 else
You can’t perform that action at this time.
0 commit comments