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: PR target branch ${{ github.event.number || 'workflow_dispatch' }} | ||
Check failure on line 1 in .github/workflows/pr-target-branch.yml
|
||
on: | ||
pull_request: | ||
types: [opened, reopened, synchronize, edited] | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
jobs: | ||
verify: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Echo target branch | ||
run: | | ||
echo Target branch is ${{ github.event.pull_request.base.ref }} | ||
echo Target branch 2 is ${{github.base_ref}} |