Skip to content

Commit

Permalink
Merge pull request #979 from Accenture/bugfix/978-coverage-github-act…
Browse files Browse the repository at this point in the history
…ions-fail-due-to-insufficient-access-if-triggered-by-dependabot

bugfix/978: coverage github actions fail due to insufficient access if triggered by dependabot
  • Loading branch information
JoernBerkefeld committed Jun 6, 2023
2 parents 09ae4f1 + 67c8494 commit 6690302
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/coverage-base-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
pull_request:
types: [edited]

permissions:
# allow dependabot to execute this workflow
pull-requests: write

jobs:
hello_world_job:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/coverage-develop-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches:
- develop

permissions:
# allow dependabot to execute this workflow
pull-requests: write

jobs:
hello_world_job:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/coverage-main-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches:
- main

permissions:
# allow dependabot to execute this workflow
pull-requests: write

jobs:
hello_world_job:
runs-on: ubuntu-latest
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
on: [pull_request]

name: Test coverage report # main.yml

permissions:
# allow dependabot to execute this workflow
pull-requests: write

jobs:
hello_world_job:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 6690302

Please sign in to comment.