Skip to content

Commit bfe974e

Browse files
authored
Fix action when PR send (#83)
1 parent 0719b4a commit bfe974e

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/pull_format.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,21 @@ name: pull format
22

33
on: [pull_request]
44

5+
permissions:
6+
contents: write
57
jobs:
68
pull_format:
7-
permissions:
8-
actions: write
9-
checks: write
10-
contents: write
119
runs-on: ubuntu-latest
1210
continue-on-error: true
1311
steps:
14-
- uses: actions/checkout@v3
12+
- name: checkout
13+
continue-on-error: true
14+
uses: actions/checkout@v3
1515
with:
1616
ref: ${{ github.head_ref }}
17-
17+
fetch-depth: 0
18+
19+
1820
- name: Set up Python ${{ matrix.python-version }}
1921
uses: actions/setup-python@v4
2022
with:

0 commit comments

Comments
 (0)