Add Github action and automated changelog using changie #411
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Jira Issue Sync | |
| on: | |
| issues: | |
| types: [opened, closed, deleted, reopened] | |
| issue_comment: | |
| types: [created] | |
| jobs: | |
| call-workflow: | |
| uses: hashicorp/terraform-provider-tfe/.github/workflows/jira-issue-sync.yml@main | |
| with: | |
| project: TF | |
| issue-extra-fields: | | |
| { "customfield_10091": ["TF-Core-Cloud"], | |
| "components": [{ "name": "Go-TFE" }], | |
| "customfield_10008": "${{ contains(github.event.issue.labels.*.name, 'bug') && 'TF-9179' || 'TF-7490' }}" | |
| } | |
| secrets: inherit |