-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add label for WPT expectations update
- Loading branch information
1 parent
dda4c0d
commit 3715b9c
Showing
3 changed files
with
51 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Labeler CI | ||
|
||
# Declare default permissions as read only. | ||
permissions: read-all | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
add-label-to-release: | ||
name: Add label to release | ||
runs-on: ubuntu-latest | ||
if: contains(github.head_ref, 'release-please') | ||
permissions: | ||
pull-requests: write | ||
steps: | ||
- run: gh pr edit "$NUMBER" --add-label "puppeteer" | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GH_REPO: ${{ github.repository }} | ||
NUMBER: ${{ github.event.pull_request.number }} | ||
|
||
add-label-to-wpt-bump: | ||
name: Add label to release | ||
runs-on: ubuntu-latest | ||
if: contains(github.head_ref, 'Bump wpt') | ||
permissions: | ||
pull-requests: write | ||
steps: | ||
- run: gh pr edit "$NUMBER" --add-label "update-expectations" | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GH_REPO: ${{ github.repository }} | ||
NUMBER: ${{ github.event.pull_request.number }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters