- This action extracts JIRA issue keys from commits on pull request
Name | Required | Description | Default |
---|---|---|---|
githubToken |
✅ | Github Token that has right to access repository | - |
Name | DataType | Description | Example |
---|---|---|---|
issueKeys |
string |
Extracted JIRA issue keys (comma separated string) | ABC-0001,ABC-0003 |
on:
pull_request:
types: [closed]
branches: [main]
jobs:
if: ${{ github.event.pull_request.merged }}
runs-on: ubuntu-latest
steps:
- name: Extract JIRA issue keys
id: jira-issue-keys
uses: dramancompany/extract-jira-issue-keys@v1.0.0
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
- name: Do something with the keys
run: |
echo ${{ steps.jira-issue-keys.outputs.issueKeys }}
$ pnpm build
$ git tag -am "v1.0.0" v1.0.0
$ git push --follow-tags