Skip to content

Commit

Permalink
Trigger packages action on subset for PRs
Browse files Browse the repository at this point in the history
This patch set's PR events to only test against amd64, and full multiarch matrix after merge event

Signed-off-by: Evan Lezar <elezar@nvidia.com>
  • Loading branch information
elezar committed Feb 1, 2024
1 parent f142020 commit 677a709
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
name: image

on:
pull_request:
types:
- opened
- synchronize
branches:
- main
- release-*
push:
branches:
- main
Expand All @@ -33,6 +40,17 @@ jobs:
- centos7-aarch64
- centos7-x86_64
- centos8-ppc64le
is-pr:
- ${{github.event_name == 'pull_request'}}
exclude:
- is-pr: true
package: ubuntu18.04-arm64
- is-pr: true
package: ubuntu18.04-ppc64le
- is-pr: true
package: centos7-aarch64
- is-pr: true
package: centos8-ppc64le
fail-fast: false
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 677a709

Please sign in to comment.