Check conflict branch in PR #49931
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check conflict branch in PR | |
on: | |
schedule: | |
- cron: '*/6 * * * *' # Run at every 6 minutes | |
jobs: | |
build: | |
name: Check conflict branch in PR | |
permissions: | |
contents: read | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Check conflict branch in PR | |
uses: PHPDevsr/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
label: stale | |
comment: | | |
:wave: Hi, @authorTarget! | |
We detected conflicts in your PR against the base branch :speak_no_evil: | |
You may want to sync :arrows_counterclockwise: your branch with upstream! | |
Ref: [Syncing Your Branch](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/workflow.md#pushing-your-branch) |