Skip to content

Commit

Permalink
Merge pull request #1507 from EliahKagan/run-ci/ci-branches
Browse files Browse the repository at this point in the history
Run CI on moderately more events
  • Loading branch information
Byron authored Aug 11, 2024
2 parents e2c747d + de555b2 commit 1926d08
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 10 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ env:

on:
push:
branches: [ main ]
tags-ignore: [ '*' ]
branches:
- main
- 'run-ci/**'
- '**/run-ci/**'
tags-ignore:
- '*'
paths:
- '.github/**'
- 'ci/**'
Expand All @@ -19,7 +23,8 @@ on:
- '*.toml'
- Makefile
pull_request:
branches: [ main ]
branches:
- main
paths:
- '.github/**'
- 'ci/**'
Expand All @@ -30,6 +35,7 @@ on:
- 'gix*/**'
- '*.toml'
- Makefile
workflow_dispatch:

jobs:
pure-rust-build:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/cifuzz.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: CIFuzz
on: [pull_request]
on:
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
Fuzzing:
runs-on: ubuntu-latest
Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/msrv.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
name: Minimum Supported Rust Version

on:
# Trigger the workflow on push to master or any pull request
# Ignore all tags
push:
branches: [ main ]
tags-ignore: [ '*' ]
branches:
- main
- 'run-ci/**'
- '**/run-ci/**'
tags-ignore:
- '*'
pull_request:
branches: [ main ]
branches:
- main
workflow_dispatch:

jobs:
rustfmt:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
name: release

on:
workflow_dispatch:
push:
# Enable when testing release infrastructure on a branch.
# branches:
# - fix-releases
tags:
- 'v*'
workflow_dispatch:

defaults:
run:
Expand Down

0 comments on commit 1926d08

Please sign in to comment.