Skip to content

Commit 81a4527

Browse files
committed
chore: add checkout action
1 parent 642f0af commit 81a4527

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/pr-conventional-title.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
validate-pr-title:
1515
runs-on: ubuntu-latest
1616
permissions:
17+
# We need `contents: read` to be able to use the local GitHub Action
18+
contents: read
1719
# We need `pull-requests: write` to be able to post comments on PRs
1820
pull-requests: write
1921
steps:
@@ -33,6 +35,9 @@ jobs:
3335
doesn't start with an uppercase character.
3436
env:
3537
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
39+
with:
40+
persist-credentials: false
3641
- uses: ./.github/actions/sticky-pr-comment
3742
if: always() && steps.pr-title.outputs.error_message != null
3843
with:

0 commit comments

Comments
 (0)