refactor: replace worker annotations/labels with web in hook jobs to … #802
This file contains hidden or 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: Auto Label Conflicts | |
| on: | |
| push: | |
| branches: [develop] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| auto-label: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: prince-chrismc/label-merge-conflicts-action@v3 | |
| with: | |
| conflict_label_name: "conflicts" | |
| github_token: ${{ secrets.PERSONAL_TOKEN }} | |
| detect_merge_changes: false # or true to handle as conflicts | |
| conflict_comment: | | |
| :wave: Hi, @${author}, | |
| I detected conflicts against the base branch :speak_no_evil: | |
| You'll want to sync :arrows_counterclockwise: your branch with upstream! |