Make key
unique
#31
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: Source branch | |
on: [pull_request] | |
env: | |
TARGET_HEAD: v1-next | |
jobs: | |
check_pr: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check on proper branch | |
if: github.head_ref != env.TARGET_HEAD | |
uses: actions/github-script@v3 | |
with: | |
script: | | |
core.setFailed(`PRs for latest-stable must come from ${{ env.TARGET_HEAD }}, but branch is ${{ github.head_ref }}`) |