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 5, 2022
1 parent afe6fb1 commit 560bbfb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 222 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
214 changes: 0 additions & 214 deletions tap-snapshots/test/check/gitignore.js.test.cjs

This file was deleted.

0 comments on commit 560bbfb

Please sign in to comment.