Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Commit

Permalink
Dependabot should not trigger CI
Browse files Browse the repository at this point in the history
Dependabot's PRs need to use the PR label workflow.

They are now push events, but have a read-only Github token:
https://github.blog/changelog/2021-02-19-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions/

(also rename all workflows so filenames match workflow names)
  • Loading branch information
Mario Manno committed May 21, 2021
1 parent 46ddf91 commit 7a70339
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ jobs:
runs-on: ubuntu-16.04

# Cannot run for pushes in forked repos, without adapting this workflow
if: github.repository == 'cloudfoundry-incubator/quarks-operator'
# dependabots pushes directly now, but needs PR review since secrets are missing
if: >
github.repository == 'cloudfoundry-incubator/quarks-operator' &&
!contains(["dependabot"], "${{ github.actor }}")
steps:
- name: Set up Go
Expand Down
File renamed without changes.

0 comments on commit 7a70339

Please sign in to comment.