Skip to content

Commit

Permalink
fix: also run docker build workflows when workflow file changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bo0tzz authored Jan 8, 2025
1 parent c7c217c commit cda07a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-actions-runner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ on:
workflow_dispatch:
push:
branches: [main]
paths: ["containers/actions-runner/**"]
paths: ["containers/actions-runner/**", ".github/workflows/build-actions-runner.yaml"]
pull_request:
branches: [main]
paths: ["containers/actions-runner/**"]
paths: ["containers/actions-runner/**", ".github/workflows/build-actions-runner.yaml"]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-preview-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Build and Push preview-operator Image
on:
push:
branches: [main]
paths: ["tools/preview-operator/**"]
paths: ["tools/preview-operator/**", ".github/workflows/build-preview-operator.yaml"]
pull_request:
branches: [main]
paths: ["tools/preview-operator/**"]
paths: ["tools/preview-operator/**", ".github/workflows/build-preview-operator.yaml"]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down

0 comments on commit cda07a6

Please sign in to comment.