Skip to content

Commit

Permalink
workflow to check PR is not from a fork
Browse files Browse the repository at this point in the history
  • Loading branch information
barrettj12 committed Oct 18, 2023
1 parent 0110e57 commit f4f1c97
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: "PR"
on: [pull_request, workflow_dispatch]
jobs:
fork:
# check PR is not running from a fork
name: Check head branch
runs-on: ubuntu-latest
steps:
- run: |
echo ${{ github.head_ref }}

0 comments on commit f4f1c97

Please sign in to comment.