From a245bbcb0f476b7e4426387af4e453c91e2ff97e Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Tue, 5 Apr 2022 17:23:45 +0000 Subject: [PATCH] fix: remove actions permission from post-dependabot --- .github/workflows/post-dependabot.yml | 3 +-- lib/content/post-dependabot.yml | 3 +-- tap-snapshots/test/apply/full-content.js.test.cjs | 6 ++---- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/post-dependabot.yml b/.github/workflows/post-dependabot.yml index 7ad2555d..0372a7a9 100644 --- a/.github/workflows/post-dependabot.yml +++ b/.github/workflows/post-dependabot.yml @@ -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: diff --git a/lib/content/post-dependabot.yml b/lib/content/post-dependabot.yml index 81a58021..8d77bdee 100644 --- a/lib/content/post-dependabot.yml +++ b/lib/content/post-dependabot.yml @@ -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: diff --git a/tap-snapshots/test/apply/full-content.js.test.cjs b/tap-snapshots/test/apply/full-content.js.test.cjs index 33d01fdf..8a1cbf01 100644 --- a/tap-snapshots/test/apply/full-content.js.test.cjs +++ b/tap-snapshots/test/apply/full-content.js.test.cjs @@ -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: @@ -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: