To incorporate this action into your workflow, specify your GitHub token and, if applicable, the release tag you’re targeting.
# Example workflow configuration
name: Extract JIRA Issue Keys Workflow
on: [push]
jobs:
key-extraction:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Extract JIRA Issue Keys
uses: Elfsquad/jira-extract-issue-keys@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
# Optional: specify if targeting a specific release
release-tag: 'v1.0.0'
-
token
: Required. Your GitHub token for authentication. -
release-tag
: Optional. The base release tag to use for comparison. If not specified, the action will default to the latest release tag.
The action parses commit messages for patterns matching JIRA issue keys (e.g., PROJ-123) and compiles a list of these keys for use in subsequent workflow steps or for audit purposes.
We welcome contributions! Please feel free to fork the repository, make your changes, and submit a pull request.