GitHub action for linking Jira issues as a comment.
on:
pull_request:
types: [opened]
jobs:
link-jira-issue:
name: Link Jira Issue
runs-on: ubuntu-latest
steps:
- name: Link Jira Issue
uses: campspot/[email protected]
with:
atlassian-domain: 'https://jira.atlassian.net'
github-token: ${{ secrets.GITHUB_TOKEN }}
Name | Type | Required? | Description |
---|---|---|---|
atlassian-domain |
string | yes | The domain of your Atlassian app |
github-token |
string | yes | The GitHub token for API access |
- This action works with pull requests only as it requires the branch name to determine the issue ID.
npm install
tsc src/index.ts