FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
sftp-sync/.github/workflows/pr-labels.yml at master · capcom6/sftp-sync · GitHub
capcom6
/
sftp-sync
Public
Notifications
You must be signed in to change notification settings
Fork
3
Star
13
Code
Issues
0
Pull requests
0
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
sftp-sync
/
.github
/
workflows
/
pr-labels.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
23 lines (20 loc) · 748 Bytes
Breadcrumbs
sftp-sync
/
.github
/
workflows
/
pr-labels.yml
Copy path
File metadata and controls
23 lines (20 loc) · 748 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name
:
Remove Labels on New Push
on
:
pull_request_target
:
types
:
[opened, synchronize]
#
Trigger on PR opened or new commits pushed
jobs
:
remove_labels
:
runs-on
:
ubuntu-latest
permissions
:
pull-requests
:
write
#
Grant permission to modify labels
steps
:
#
step 1: checkout repository code
-
name
:
Checkout code into workspace directory
uses
:
actions/checkout@v4
#
step 2: remove specific labels
-
name
:
Remove specific labels
run
:
|
gh pr edit ${{ github.event.pull_request.number }} --remove-label "ready" ||
true
gh pr edit ${{ github.event.pull_request.number }} --remove-label "deployed" ||
true
env
:
GH_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
Back
|
FazBrowse Home
|
New Git URL