use a specific pnpm version #6727
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
# Based on https://www.neilmacy.co.uk/blog/github-action-to-block-merging | |
name: "Internal PR Required" | |
on: | |
pull_request: | |
types: [synchronize, opened, reopened, labeled, unlabeled] | |
jobs: | |
InternalPRRequired: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check for label | |
if: contains(github.event.*.labels.*.name, 'needs-internal-pr') | |
run: | | |
echo "Pull request is labeled as 'needs-internal-pr'" | |
echo "This workflow fails so the pull request cannot be merged" | |
exit 1 |