Skip to content

Commit 4c44642

Browse files
authored
Filter using github.head_ref instead of github.ref (#18301)
1 parent d682e95 commit 4c44642

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/close-external-repo-sync-prs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
invalid-repo-sync-check:
1313
name: Close external Repo Sync PRs
14-
if: ${{ github.repository == 'github/docs' && github.ref == 'refs/heads/repo-sync' }}
14+
if: ${{ github.repository == 'github/docs' && github.head_ref == 'repo-sync' }}
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9

0 commit comments

Comments
 (0)