5
0
Fork 0
mirror of https://github.com/hashicorp/vault-action.git synced 2025-11-11 00:56:54 +00:00
vault-action/.github/workflows/jira.yaml
2023-05-22 19:18:04 -05:00

20 lines
821 B
YAML

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:
# using `main` as the ref will keep your workflow up-to-date
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: ${{ steps.secrets.outputs.JIRA_SYNC_BASE_URL }}
JIRA_SYNC_USER_EMAIL: ${{ steps.secrets.outputs.JIRA_SYNC_USER_EMAIL }}
JIRA_SYNC_API_TOKEN: ${{ steps.secrets.outputs.JIRA_SYNC_API_TOKEN }}
with:
teams-array: '["applications-eco"]'