Skip to content

Commit

Permalink
Run integration and snapshot jobs on non-feature branches (#1093)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Edgar <medgar@redhat.com>
  • Loading branch information
MikeEdgar authored Oct 1, 2024
1 parent 26fb8b7 commit c2f354b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: Build
on:
push:
branches: [ 'main' ]
branches:
- 'main'
- '[0-9]+.[0-9]+.x'
pull_request:
branches: [ 'main' ]
branches:
- 'main'
- '[0-9]+.[0-9]+.x'
types: [ opened, reopened, synchronize ]

jobs:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Publish Snapshot

on:
push:
branches: [ 'main' ]
branches:
- 'main'
- '[0-9]+.[0-9]+.x'
paths-ignore:
- '.github/project.yml'

Expand Down

0 comments on commit c2f354b

Please sign in to comment.