ci: try adding the puppeteer label last #754
Workflow file for this run
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
name: Labeler CI | |
# Declare default permissions as read only. | |
permissions: read-all | |
on: | |
pull_request: | |
types: | |
# These are the defaults. See | |
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request | |
# Don't trigger on PR updates (`synchronize`) | |
- opened | |
- reopened | |
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-required" --add-label "puppeteer" | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GH_REPO: ${{ github.repository }} | |
NUMBER: ${{ github.event.pull_request.number }} |