Skip to content

Commit 777f4c9

Browse files
authored
Create removeLabel.yml
1 parent 47f68e3 commit 777f4c9

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/removeLabel.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Remove Label
2+
on:
3+
pull_request_target:
4+
types: [labeled]
5+
# Ensures that only the latest commit is running for each PR at a time.
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.ref }}
8+
cancel-in-progress: true
9+
jobs:
10+
Remove-Label:
11+
if: contains(github.event.pull_request.labels.*.name, 'safe to test')
12+
name: Remove label
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Remove 'safe to test'
16+
uses: actions-ecosystem/action-remove-labels@v1
17+
with:
18+
labels: "safe to test"

0 commit comments

Comments
 (0)