Skip to content

Commit

Permalink
Add github-token for workflow deployment
Browse files Browse the repository at this point in the history
This is needed if we want to deploy to a different repository.
`planemo workflow_upload` autoamtically takes this from the environment variables.
  • Loading branch information
mvdbeek committed Feb 6, 2021
1 parent 1680c98 commit fd54a4c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ inputs:
workflow-namespace:
description: 'Github namespace under which to create workfow repositories'
default: 'iwc-workflows'
github-token:
description: '(Secret!) Github PAT token. Needed for creating workflow repositories with workflow-upload'
default: ''
# inputs that are needed for testing this action
# not supposed to be used
github-event-name-override:
Expand Down Expand Up @@ -120,7 +123,8 @@ runs:
SHED_TARGET: ${{ inputs.shed-target }}
SHED_KEY: ${{ inputs.shed-key }}
SETUP_CVMFS: ${{ inputs.setup-cvmfs }}
WORKFLOW_NAMESPACE: ${{ inputs.workflow-namespace }}
WORKFLOW_NAMESPACE: ${{ inputs.workflow-namespace }}
GITHUB_TOKEN: ${{ inputs.github-token }}
WORKFLOWS: ${{ inputs.workflows }}
GITHUB_EVENT_NAME_OVERRIDE: ${{ inputs.github-event-name-override }}
GITHUB_REF_OVERRIDE: ${{ inputs.github-ref-override }}
Expand Down

0 comments on commit fd54a4c

Please sign in to comment.