Skip to content

Commit

Permalink
Always run dependabot action on dependabot PRs
Browse files Browse the repository at this point in the history
…even if someone else pushed the specific commit.
  • Loading branch information
emdash-ie committed Jul 17, 2023
1 parent e84f567 commit f830e5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ on:
jobs:
CI:
if: >-
(github.actor != 'dependabot[bot]') &&
(github.event.pull_request.head.repo.owner.login == 'guardian' ||
github.event_name == 'push')
github.actor != 'dependabot[bot]'
&& github.event.pull_request.user.login != 'dependabot[bot]'
&& github.repository_owner == 'guardian'
# Required by actions-assume-aws-role
permissions:
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:

jobs:
run_node_tests:
if: github.actor == 'dependabot[bot]'
if: (github.actor == 'dependabot[bot]' || github.event.pull_request.user.login == 'dependabot[bot]')
name: test dependabot
runs-on: ubuntu-latest
services:
Expand Down

0 comments on commit f830e5c

Please sign in to comment.