Skip to content

Commit

Permalink
feat: include ticket number in basemaps pull requests TDE-1146 (#535)
Browse files Browse the repository at this point in the history
#### Motivation

It is helpful to have all pull requests linked to the ticket, since we
now have the ticket number in the workflow we should pass it into
anything interacting with github

#### Modification

Adds ticket number to basemaps `create-pr` action.

This pull request needs linz/argo-tasks#962 to
be merged first.

#### Checklist

_If not applicable, provide explanation of why._

- [ ] Tests updated
- [ ] Docs updated
- [ ] Issue linked in Title
  • Loading branch information
blacha authored Apr 23, 2024
1 parent 4c06ed6 commit 2df071c
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions workflows/basemaps/imagery-import-cogify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -371,10 +371,9 @@ spec:
name: github-linz-li-bot-pat
key: pat
args:
[
'bmc',
'create-pr',
'--target={{inputs.parameters.target}}',
"--individual={{= workflow.parameters.create_pull_request == 'individual'? 'true' : 'false' }}",
'--category={{workflow.parameters.category}}',
]
- 'bmc'
- 'create-pr'
- '--target={{inputs.parameters.target}}'
- '--ticket={{workflow.parameters.ticket}}'
- "--individual={{= workflow.parameters.create_pull_request == 'individual'? 'true' : 'false' }}"
- '--category={{workflow.parameters.category}}'

0 comments on commit 2df071c

Please sign in to comment.