ci: allow manual dispatch for puppeteer workflow #1745
Workflow file for this run
This file contains hidden or 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 }} |