Skip to content

Commit ee1b456

Browse files
Merge pull request #13 from DeDuckProject/claude/optimize-pipeline-triggers-L1uZG
fix: remove PR head ref checkout for issue_comment events
2 parents e6f48d3 + 9b97bd3 commit ee1b456

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

.github/workflows/demo.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ jobs:
2626
- uses: actions/checkout@v4
2727
with:
2828
fetch-depth: 0
29-
# On issue_comment, check out the PR head ref (default branch otherwise has no trigger code)
30-
ref: ${{ github.event_name == 'issue_comment' && format('refs/pull/{0}/head', github.event.issue.number) || '' }}
3129

3230
- uses: actions/setup-node@v4
3331
with:

0 commit comments

Comments
 (0)