Skip to content

Commit 45d5cd2

Browse files
committed
ci(release): fail workflow as a reminder to generate release notes
1 parent 5633380 commit 45d5cd2

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

.github/workflows/docker-release.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,12 @@ jobs:
7676
images+=("${tag}@${DIGEST}")
7777
done
7878
cosign sign --recursive --yes "${images[@]}"
79+
- name: Manually generate release note
80+
shell: bash
81+
run: |
82+
set -euo pipefail
83+
IFS=$'\n\t'
84+
echo "This failure is expected. It is a reminder to update the release notes for this newly created release."
85+
echo "To do so, go to ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/releases/latest and click on the edit button."
86+
echo "Then click on the 'Generate release notes' button and finally the 'Update release' button. Cheers!"
87+
exit 1

.zizmor.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@ rules:
33
forbidden-uses:
44
config:
55
allow:
6+
- Azure/*
67
- actions/*
8+
- aws-actions/*
79
- docker/*
8-
- github/codeql-action/*
9-
- google/osv-scanner-action/*
10-
- microsoft/DevSkim-Action
11-
- microsoft/security-devops-action
12-
- ossf/scorecard-action
13-
- sigstore/cosign-installer
10+
- github/*
11+
- google-github-actions/*
12+
- google/*
13+
- googleapis/*
14+
- microsoft/*
15+
- ossf/*
16+
- sigstore/*
1417
- super-linter/super-linter

0 commit comments

Comments
 (0)