https://github.com/lirantal/github-action-pr-title-update-branch
A GitHub Action that updates the PR title with information about the base branch it wants to merge to
https://github.com/lirantal/github-action-pr-title-update-branch
Last synced: about 13 hours ago
JSON representation
A GitHub Action that updates the PR title with information about the base branch it wants to merge to
- Host: GitHub
- URL: https://github.com/lirantal/github-action-pr-title-update-branch
- Owner: lirantal
- Created: 2021-11-29T17:57:12.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-01T19:48:52.000Z (almost 4 years ago)
- Last Synced: 2025-03-31T01:29:13.969Z (6 months ago)
- Language: JavaScript
- Size: 130 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# github-action-pr-title-update-branch
A GitHub Action that updates the PR title with information about the base branch it wants to merge to
## Inputs
### `placement`
Where to place the branch name
Not required.
### `skip_if_found`
Skip update if base branch string is found in the title
Not required.
## Example usage
Note the event trigger on `pull_request.
```yaml
on: [pull_request]jobs:
pr_meta:
runs-on: ubuntu-latest
name: A job that updates the Pull Request title with a base branch label
steps:
- name: Update the Pull Request title with a base branch label
uses: lirantal/github-action-pr-title-update-branch@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```