Skip to content

Commit de07568

Browse files
authored
Update require-codeowners.yml (#14)
Checkout the correct branch this time.
1 parent ed22280 commit de07568

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/require-codeowners.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ jobs:
3535
runs-on: ubuntu-latest
3636

3737
steps:
38-
- name: Checkout repo
38+
- name: Checkout branch
3939
uses: actions/checkout@v4
4040
with:
41-
ref: ${{ github.ref_name }}
41+
ref: ${{ github.event.pull_request.head.sha }}
4242

4343
# Find doesn't return non-0 for no results, but grep does.
4444
- name: Check for CODEOWNERS

0 commit comments

Comments
 (0)