Skip to content

andrefilipegsilva/jira-extract-issue-keys

This branch is up to date with Elfsquad/jira-extract-issue-keys:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Anco
May 23, 2024
8059373 Β· May 23, 2024

History

43 Commits
May 23, 2024
Nov 5, 2021
Nov 5, 2021
Mar 19, 2024
Nov 5, 2021
May 21, 2024
May 23, 2024
May 23, 2024
May 23, 2024

Repository files navigation

πŸš€ Jira Extract Issue Keys

License: AGPL v3

The jira-extract-issue-keys GitHub Action is designed for automating the extraction of JIRA issue keys from commit messages. This action supports extracting issue keys from conventional commit messages (feat(EC-12345): …​).

πŸ“– Usage

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'

πŸ”§ Inputs

  • 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.

πŸ“€ Outputs

  • issue-keys: A string containing the extracted JIRA issue keys, separated by commas.

πŸ€– How it Works

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.

🀝 Contributing

We welcome contributions! Please feel free to fork the repository, make your changes, and submit a pull request.

βš–οΈ License

Licensed under the AGPL-3.0. See the LICENSE file in the repository for full details.

✨ Acknowledgements

A big thank you to everyone who contributes to the ongoing development and maintenance of this action.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%