You've already forked reloading-manager
I would rather be playing Factorio.
This commit is contained in:
20
.github/workflows/do-not-merge-check.yml
vendored
Normal file
20
.github/workflows/do-not-merge-check.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
on:
|
||||||
|
label:
|
||||||
|
types: [created, deleted, edited]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
do-not-merge-check:
|
||||||
|
name: 🚫🔒 Do Not Merge Check
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: 📖🔍 Checkout Repository Code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 1
|
||||||
|
|
||||||
|
- name: 🔍🚫 Check for "Do Not Merge" Label
|
||||||
|
run: |
|
||||||
|
if [[ "${{ github.event.label.name }}" == "Do Not Merge" ]]; then
|
||||||
|
echo "This PR has the 'Do Not Merge' label. Exiting."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user