File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 steps :
1919 - name : Checkout repository
2020 uses : actions/checkout@v6
21+ with :
22+ ref : ${{ github.event_name == 'issue_comment' && format('refs/pull/{0}/head', github.event.issue.number) || github.ref }}
2123
2224 - name : Cache Node.js dependencies
2325 uses : actions/cache@v5
7375 steps :
7476 - name : Checkout repository
7577 uses : actions/checkout@v6
78+ with :
79+ ref : ${{ github.event_name == 'issue_comment' && format('refs/pull/{0}/head', github.event.issue.number) || github.ref }}
7680
7781 - name : Cache Node.js dependencies
7882 uses : actions/cache@v5
@@ -131,6 +135,8 @@ jobs:
131135 steps :
132136 - name : Checkout repository
133137 uses : actions/checkout@v6
138+ with :
139+ ref : ${{ github.event_name == 'issue_comment' && format('refs/pull/{0}/head', github.event.issue.number) || github.ref }}
134140
135141 - name : Cache Node.js dependencies
136142 uses : actions/cache@v5
You can’t perform that action at this time.
0 commit comments