aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2023-12-20 16:03:31 +0100
committerGitHub <noreply@github.com>2023-12-20 16:03:31 +0100
commitbb8ed59f6891b1196c5f5bbe7346cd171c8215fa (patch)
treeddf5a77d04c84d61f9fe20093e55eb5a65ee6416 /.github/workflows
parent1e5c4a7f6a734352f802c82b293fe3b215e3a5b2 (diff)
downloadNorthstarLauncher-bb8ed59f6891b1196c5f5bbe7346cd171c8215fa.tar.gz
NorthstarLauncher-bb8ed59f6891b1196c5f5bbe7346cd171c8215fa.zip
Add Action to add label to PR on merge conflict (#621)
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.yml16
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