diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2023-12-20 16:20:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-20 16:20:43 +0100 |
commit | d90a9867f02d2860742f30f75ea05c965c92825c (patch) | |
tree | 581ddcd2899c7736d3bd6ee3cfea27b7226623d1 /.github/workflows | |
parent | bbd4ced1eaffb7f7471ef9ea47724daa05811a93 (diff) | |
download | NorthstarMods-d90a9867f02d2860742f30f75ea05c965c92825c.tar.gz NorthstarMods-d90a9867f02d2860742f30f75ea05c965c92825c.zip |
Add Action to add label to PR on merge conflict (#772)
Adds a GitHub Action that auto-adds a label to a PR in case there are merge conflicts.
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/merge-conflict-auto-label.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/merge-conflict-auto-label.yml b/.github/workflows/merge-conflict-auto-label.yml new file mode 100644 index 00000000..e237726a --- /dev/null +++ b/.github/workflows/merge-conflict-auto-label.yml @@ -0,0 +1,16 @@ +name: Merge Conflict Auto Label +on: + push: + branches: + - main + +jobs: + triage: + runs-on: ubuntu-latest + steps: + - uses: mschilde/auto-label-merge-conflicts@master + with: + CONFLICT_LABEL_NAME: "merge conflicts" + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + MAX_RETRIES: 5 + WAIT_MS: 5000 |