We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c67da17 commit 509d337Copy full SHA for 509d337
.github/workflows/pre-commit-fix.yaml
@@ -11,12 +11,18 @@ jobs:
11
github.event.issue.pull_request &&
12
startsWith(github.event.comment.body, 'fix formatting')
13
14
+ permissions:
15
+ contents: write
16
+ pull-requests: read
17
+
18
steps:
19
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # ratchet:actions/checkout@v6.0.0
20
21
# Action runs on the issue comment, so we don't get the PR by default.
22
# Use the GitHub CLI to check out the PR.
23
- name: Checkout Pull Request
24
+ env:
25
+ GH_TOKEN: ${{ github.token }}
26
run: gh pr checkout ${{ github.event.issue.number }}
27
28
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # ratchet:actions/setup-python@v6.0.0
0 commit comments