confidential-containers / trustee

Attestation and Secret Delivery Components
Apache License 2.0
67 stars 88 forks source link

gha: Skip duplicate image build on merge #581

Closed BbolroC closed 4 days ago

BbolroC commented 4 days ago

The following workflows are triggered twice during a merge:

For self-hosted runners, which often have a limited number of available runners, this duplicate build is unnecessary and may cause CI bottlenecks.

This PR ensures the workflow of interest is skipped when github.event_name is push, which occurs during a merge.

Signed-off-by: Hyounggyu Choi Hyounggyu.Choi@ibm.com

BbolroC commented 4 days ago

Workflow examples for the duplicate build:

  1. KBS

  2. AS