Skip to content

Commit

Permalink
fix: remove actions permission from post-dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Apr 6, 2022
1 parent afe6fb1 commit a245bbc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/post-dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ on: pull_request

# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
permissions:
actions: write
contents: write

jobs:
Install:
template-oss-apply:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
Expand Down
3 changes: 1 addition & 2 deletions lib/content/post-dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ on:

# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
permissions:
actions: write
contents: write

jobs:
Install:
template-oss-apply:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
Expand Down
6 changes: 2 additions & 4 deletions tap-snapshots/test/apply/full-content.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -302,11 +302,10 @@ on: pull_request
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
permissions:
actions: write
contents: write
jobs:
Install:
template-oss-apply:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
Expand Down Expand Up @@ -967,11 +966,10 @@ on: pull_request
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
permissions:
actions: write
contents: write
jobs:
Install:
template-oss-apply:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
Expand Down

0 comments on commit a245bbc

Please sign in to comment.