We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bc9e8b commit 6e35a1dCopy full SHA for 6e35a1d
.github/workflows/preflight.yml
@@ -3,8 +3,8 @@ name: Preflight
3
'on':
4
schedule:
5
- cron: '0 0 * * *'
6
- # pull_request:
7
- # branches: [ main ]
+ pull_request:
+ branches: [ main ]
8
workflow_dispatch:
9
10
permissions:
@@ -41,7 +41,7 @@ jobs:
41
make build
42
./preflight check container ${{ env.IMAGE_NAME }} --artifacts ${GITHUB_WORKSPACE}/openshift-preflight/artifacts
43
44
- ALLOWED_FAILURES=("HasLicense" "RunAsNonRoot" "HasUniqueTag" "HasRequiredLabel")
+ ALLOWED_FAILURES=("HasLicense" "RunAsNonRoot" "HasUniqueTag" "HasNoProhibitedLabels")
45
FAILURES=$(cat ${GITHUB_WORKSPACE}/openshift-preflight/artifacts/amd64/results.json | jq -r '.results.failed[].name')
46
47
for FAILURE in $FAILURES; do
0 commit comments