Skip to content

Commit 2091b93

Browse files
kodster28Maddy-Cloudflare
authored andcommitted
[GHA] fix formatting errors (#22171)
1 parent 39c553e commit 2091b93

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/anchor-link-audit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
compile:
1212
name: Compiles
1313
runs-on: ubuntu-latest
14+
permissions:
15+
issues: write
1416
steps:
1517
- uses: actions/checkout@v4
1618
with:
@@ -46,8 +48,6 @@ jobs:
4648
run: ./bin/htmltest -c ./bin/.htmltest.yml
4749

4850
- name: Create issue on failure
49-
permissions:
50-
issues: write
5151
if: ${{ failure() }}
5252
env:
5353
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/comment-changed-filenames.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ concurrency:
1515

1616
jobs:
1717
flag_changed_filenames:
18+
permissions:
19+
pull-requests: write
1820
runs-on: ubuntu-latest
1921
steps:
2022
- name: Checkout Repository
@@ -36,8 +38,6 @@ jobs:
3638
echo "${delimiter}" >> "$GITHUB_ENV"
3739
3840
- name: Comment or Update Comment on PR based on changed files
39-
permissions:
40-
pull-requests: write
4141
env:
4242
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4343
run: |

.github/workflows/image-audit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ on:
1111

1212
jobs:
1313
image-audit:
14+
permissions:
15+
issues: write
1416
runs-on: ubuntu-latest
1517

1618
steps:
@@ -38,8 +40,6 @@ jobs:
3840
fi
3941
4042
- name: Create Issue if Unused Files Found
41-
permissions:
42-
issues: write
4343
if: steps.find-files.outputs.unused_files
4444
env:
4545
UNUSED_FILES: ${{ steps.find-files.outputs.unused_files }}

0 commit comments

Comments
 (0)