Skip to content

Commit 6e35a1d

Browse files
authored
Fix preflight (#314)
1 parent 6bc9e8b commit 6e35a1d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/preflight.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Preflight
33
'on':
44
schedule:
55
- cron: '0 0 * * *'
6-
# pull_request:
7-
# branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
88
workflow_dispatch:
99

1010
permissions:
@@ -41,7 +41,7 @@ jobs:
4141
make build
4242
./preflight check container ${{ env.IMAGE_NAME }} --artifacts ${GITHUB_WORKSPACE}/openshift-preflight/artifacts
4343
44-
ALLOWED_FAILURES=("HasLicense" "RunAsNonRoot" "HasUniqueTag" "HasRequiredLabel")
44+
ALLOWED_FAILURES=("HasLicense" "RunAsNonRoot" "HasUniqueTag" "HasNoProhibitedLabels")
4545
FAILURES=$(cat ${GITHUB_WORKSPACE}/openshift-preflight/artifacts/amd64/results.json | jq -r '.results.failed[].name')
4646
4747
for FAILURE in $FAILURES; do

0 commit comments

Comments
 (0)