mirror of
https://github.com/cloudnativelabs/kube-router.git
synced 2025-09-30 20:41:10 +02:00
.github/ci.yml: Don't build containers for dependabot updates
Dependabot does not have access to secrets, so skip building containers
This commit is contained in:
parent
d5a18cac67
commit
fc3973c843
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -74,10 +74,10 @@ jobs:
|
||||
run: |
|
||||
make kube-router
|
||||
|
||||
# Builds Container on Push Event, not run if there's a Tag Event
|
||||
# Builds Container only if a new push to main branch, a tag or a pull request from a source branch within the repository
|
||||
ci-build-container:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
|
||||
if: ${{ github.event_name != 'pull_request' || (github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]') }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
Loading…
x
Reference in New Issue
Block a user