Skip to content

Make key unique

Make key unique #31

Workflow file for this run

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 }}`)