An open API service indexing awesome lists of open source software.

https://github.com/jop-software/auto-issue-link

GHA to automatically link Pull Requests with Issues by the branch
https://github.com/jop-software/auto-issue-link

actions

Last synced: 3 months ago
JSON representation

GHA to automatically link Pull Requests with Issues by the branch

Awesome Lists containing this project

README

          


Auto issue link Github Action


Link new Pull Requests with existing Issues by the branch name.


## What is does?

This action allows you to automatically link new Pull Requests with existing Issues based on the branch name. If a branch name contains an issue number (e.g., `feature/1234-new-feature`), the action will link the corresponding issue (e.g., issue #1234) to the newly created Pull Request.

## Inputs

| Name | Description | Default |
| ------- | ------------------------------------------- | --------------------- |
| `token` | Token for authorized use of the Github API. | `${{ github.token }}` |

## Example usage

```yaml
name: Auto Issue Link
on:
pull_request:
types: [opened]

jobs:
link-pr-to-issue:
runs-on: ubuntu-latest
steps:
- uses: "jop-software/auto-issue-link@v1"
```

## License

This project is licensed under the terms of the AGPL-3.0 license. See the [LICENSE](LICENSE) file for details.

### Enterprise Support and Licensing

Enterprise Support and Licensing is available, contact [info@jop-software.de](mailto:info@jop-software.de) for more information.


© 2025, jop-software Inh. Johannes Przymusinski