Skip to content

Commit 9781f11

Browse files
committed
Add checkout
1 parent e7ce2f0 commit 9781f11

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/check_pr.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ jobs:
5050
pr_number: ${{ steps.pr-number.outputs.pr }}
5151
action: ${{ steps.pr-number.outputs.action }}
5252
steps:
53+
- uses: actions/checkout@v4
54+
with:
55+
persist-credentials: false
56+
5357
- name: Get issue
5458
id: get-issue
5559
if: ${{ github.event_name == 'issues' || github.event_name == 'issue_comment' }}
@@ -440,6 +444,9 @@ jobs:
440444
permissions:
441445
issues: write
442446
steps:
447+
- uses: actions/checkout@v4
448+
with:
449+
persist-credentials: false
443450
- name: Clear body
444451
run: |
445452
gh issue view "$ISSUE" --json body | jq -r '.body' >body.txt

0 commit comments

Comments
 (0)