Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/snasirca/autorebase-notify-action
Automatically notify all PRs to rebase when their base branch receives a new push
https://github.com/snasirca/autorebase-notify-action
Last synced: 25 days ago
JSON representation
Automatically notify all PRs to rebase when their base branch receives a new push
- Host: GitHub
- URL: https://github.com/snasirca/autorebase-notify-action
- Owner: snasirca
- License: mit
- Created: 2021-11-19T16:12:39.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-27T16:13:06.000Z (about 3 years ago)
- Last Synced: 2024-11-06T22:16:21.024Z (2 months ago)
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Auto-Rebase Notify Action
> A GitHub Action to automatically notify all PRs to rebase when their base
> branch receives a new push[![Build Status](https://github.com/snasirca/autorebase-notify-action/workflows/Auto-Rebase Notify/badge.svg)](https://github.com/snasirca/autorebase-notify-action/actions)
## Prerequisites
* You must have set up the [Rebase GitHub Action](https://github.com/cirrus-actions/rebase/)
## Usage
Create a workflow file under `.github/workflows` called `autorebase.yml` with
the following content:```yml
name: Auto-Rebase Notifyon:
push:jobs:
build:
runs-on: ubuntu-lateststeps:
- name: Trigger rebase
uses: snasirca/autorebase-notify-action@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```> NOTE: To ensure GitHub Actions is automatically re-run after a successful
> rebase action use a [Personal Access Token](https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token)
> for `snasirca/autorebase-notify-action@main`. See the following [discussion](https://github.community/t/triggering-a-new-workflow-from-another-workflow/16250/37)
> for more details.```yaml
...
- name: Trigger rebase
uses: snasirca/autorebase-notify-action@main
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
```Add the label `autorebase` to PRs that you want to target.
## License
[MIT](LICENSE)