Support OAuth 2.0 device flow #622
This file contains 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 Sync | |
on: | |
issues: | |
types: [opened, closed, deleted, reopened] | |
pull_request_target: | |
types: [opened, closed, reopened] | |
issue_comment: # Also triggers when commenting on a PR from the conversation view | |
types: [created] | |
jobs: | |
sync: | |
uses: hashicorp/vault-workflows-common/.github/workflows/jira.yaml@main | |
# assuming you use Vault to get secrets | |
# if you use GitHub secrets, use secrets.XYZ instead of steps.secrets.outputs.XYZ | |
secrets: | |
JIRA_SYNC_BASE_URL: ${{ secrets.JIRA_SYNC_BASE_URL }} | |
JIRA_SYNC_USER_EMAIL: ${{ secrets.JIRA_SYNC_USER_EMAIL }} | |
JIRA_SYNC_API_TOKEN: ${{ secrets.JIRA_SYNC_API_TOKEN }} | |
with: | |
teams-array: '["ecosystem", "applications"]' |