Skip to content

Commit

Permalink
Run with ci file changes
Browse files Browse the repository at this point in the history
Signed-off-by: James Sturtevant <jsturtevant@gmail.com>
  • Loading branch information
jsturtevant committed May 16, 2024
1 parent 54d51de commit 4da86f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/capz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches: [ "master" ]
paths:
- 'capz/**'
- '.github/workflows/capz.yml'
jobs:
run-lint:
runs-on: ubuntu-latest
Expand All @@ -16,7 +17,7 @@ jobs:
fetch-depth: 0
# https://github.com/github/super-linter
- name: Lint Code Base
uses: github/super-linter@v6.5.0
uses: super-linter/super-linter@v6.5.0
env:
VALIDATE_ALL_CODEBASE: false
VALIDATE_BASH: true
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/hyperv-webhook-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,20 @@ on:
- master
paths:
- helpers/hyperv-mutating-webhook/**
- .github/workflows/hyperv-webhook-build.yaml
workflow_dispatch: # for testing until workfload is validated

jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: helpers/hyper-v-mutating-webhook/
steps:
- uses: actions/checkout@v2
- name: build image for ci
if: ${{ github.event_name == 'pull_request' }}
run: |
cd helpers/hyperv-mutating-webhook
make docker-build
- name: build image for release
if: ${{ github.event_name != 'pull_request' }}
Expand Down

0 comments on commit 4da86f6

Please sign in to comment.