Skip to content

Add+update workflows. #1

Add+update workflows.

Add+update workflows. #1

name: "Label merge conflicts"
on:
push:
branches:
- master
permissions:
contents: read
pull-requests: write
# https://www.meziantou.net/how-to-cancel-github-workflows-when-pushing-new-commits-on-a-branch.htm
concurrency:
# github.event.pull_request.number || github.ref: pull request number or branch name if not a pull request
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
triage:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
# https://github.com/marketplace/actions/auto-label-merge-conflicts
- uses: mschilde/auto-label-merge-conflicts@master
with:
CONFLICT_LABEL_NAME: "💥 Conflicts"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MAX_RETRIES: 5
WAIT_MS: 5000