Skip to content

Commit a245bbc

Browse files
committed
fix: remove actions permission from post-dependabot
1 parent afe6fb1 commit a245bbc

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

.github/workflows/post-dependabot.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@ on: pull_request
66

77
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
88
permissions:
9-
actions: write
109
contents: write
1110

1211
jobs:
13-
Install:
12+
template-oss-apply:
1413
runs-on: ubuntu-latest
1514
if: github.actor == 'dependabot[bot]'
1615
steps:

lib/content/post-dependabot.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@ on:
55

66
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
77
permissions:
8-
actions: write
98
contents: write
109

1110
jobs:
12-
Install:
11+
template-oss-apply:
1312
runs-on: ubuntu-latest
1413
if: github.actor == 'dependabot[bot]'
1514
steps:

tap-snapshots/test/apply/full-content.js.test.cjs

+2-4
Original file line numberDiff line numberDiff line change
@@ -302,11 +302,10 @@ on: pull_request
302302
303303
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
304304
permissions:
305-
actions: write
306305
contents: write
307306
308307
jobs:
309-
Install:
308+
template-oss-apply:
310309
runs-on: ubuntu-latest
311310
if: github.actor == 'dependabot[bot]'
312311
steps:
@@ -967,11 +966,10 @@ on: pull_request
967966
968967
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
969968
permissions:
970-
actions: write
971969
contents: write
972970
973971
jobs:
974-
Install:
972+
template-oss-apply:
975973
runs-on: ubuntu-latest
976974
if: github.actor == 'dependabot[bot]'
977975
steps:

0 commit comments

Comments
 (0)