Skip to content

Commit

Permalink
Merge pull request juju#16544 from barrettj12/ci-push
Browse files Browse the repository at this point in the history
juju#16544

juju#16196 disabled the GitHub Actions on `push`. The intention here was to avoid triggering workflow runs on every new commit pushed to a feature branch.

However, this also disabled the workflow runs on the "trunk" branches (`2.9`, `3.1`, etc). We still want to run the workflows here - particularly so we can tell if a PR has broken a workflow, or whether it was already broken.

This change ensures we run the full suite of Actions on the main branches.

## QA steps

GitHub Actions don't run on this branch - see [here](https://github.com/barrettj12/juju/actions?query=branch%3Aci-push).
  • Loading branch information
jujubot authored Nov 7, 2023
2 parents 5c9b79e + e5c18fa commit 7f66026
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: "Build"
on:
push:
branches: [2.9, 3.1, 3.2, 3.3, main]
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/client-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: "Client Tests"
on:
push:
branches: [2.9, 3.1, 3.2, 3.3, main]
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/gen.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: "Generate"
on:
push:
branches: [2.9, 3.1, 3.2, 3.3, main]
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/license.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: "Licenses"
on:
push:
branches: [2.9, 3.1, 3.2, 3.3, main]
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/smoke.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: "Smoke"
on:
push:
branches: [2.9, 3.1, 3.2, 3.3, main]
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/snap.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: "Snapcraft"
on:
push:
branches: [2.9, 3.1, 3.2, 3.3, main]
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: "Static Analysis"
on:
push:
branches: [2.9, 3.1, 3.2, 3.3, main]
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
# paths:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/upgrade.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: "Upgrade"
on:
push:
branches: [2.9, 3.1, 3.2, 3.3, main]
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
Expand Down

0 comments on commit 7f66026

Please sign in to comment.