1
0
mirror of https://github.com/coreos/fedora-coreos-config.git synced 2026-02-05 09:45:30 +01:00

workflows: update the normalize denylist in the promotion-diff workflow

- In coreos/fedora-coreos-releng-automation#179
 we updated the normalization denylist. Additionally,
 we are currently excluding the `warn:` comment in the kola denylist,
 which was recently added. Let's apply the same exclusion here to prevent
 unwanted warnings."

Signed-off-by: Renata Ravanelli <rravanel@redhat.com>
This commit is contained in:
Renata Ravanelli
2023-09-04 18:29:03 -03:00
committed by Dusty Mabe
parent 344f70abe6
commit 9f07817256

View File

@@ -40,9 +40,9 @@ jobs:
- name: Normalize kola-denylist.yaml
run: |
# When we promote to a production branch we strip out the
# snooze lines. Let's do the same here so we don't get warnings.
# See https://github.com/coreos/fedora-coreos-releng-automation/pull/165
sed -E -i 's/^(\s+)(snooze:\s+.*)/\1# \2 (disabled on promotion)/' origin/kola-denylist.yaml
# snooze and warn lines. Let's do the same here so we don't get warnings.
# See https://github.com/coreos/fedora-coreos-releng-automation/pull/179
sed -E -i 's/^(\s+)((snooze:|warn:)\s+.*)/\1# \2 (disabled on promotion)/' origin/kola-denylist.yaml
- name: Compare trees
uses: coreos/actions-lib/check-diff@main
with: