forked from open-policy-agent/opa
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Skip asset upload/push when missing config
Previously we had some required configuration for the Github Actions, and forks of OPA would need to set them _and_ have the underlying infra configured (eg, docker registries, s3 bucket, etc). Now it will check if the secrets are set, and if any required ones are missing it will skip the steps. This significantly lowers the bar for OPA forks to be able to run the normal action workflows without getting errors. The only lost functionality is primarily around publishing release assets, which is not required for dev forks, and other forks can opt int to pieces they care about (eg, only want to publish docker images and no s3 release assets). Signed-off-by: Patrick East <east.patrick@gmail.com>
- Loading branch information
1 parent
d4fa685
commit 35b78b8
Showing
3 changed files
with
16 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters