Skip to content

Commit b69a845

Browse files
committed
add remove label script
1 parent 77264c3 commit b69a845

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

.github/workflows/removeLabel.yml

+18
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"

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ To install the *[JFrog Extension](https://marketplace.visualstudio.com/items?ite
8888

8989
### Installing the Build Agent
9090

91-
To run the JFrog tasks, the build agents use three tools:
91+
To run the JFrog tasks, the build agents use the following tools:
9292

9393
* JFrog CLI: Runs all the JFrog tasks.
9494
* Maven Extractor (Used by the [JFrog Maven](#jfrog-maven-task) task)

0 commit comments

Comments
 (0)