Skip to content

Commit 3fb733e

Browse files
committed
ci(release): fail workflow as a reminder to generate release notes
1 parent 35eb655 commit 3fb733e

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
@@ -73,3 +73,12 @@ jobs:
7373
images+=("${tag}@${DIGEST}")
7474
done
7575
cosign sign --recursive --yes "${images[@]}"
76+
- name: Manually generate release note
77+
shell: bash
78+
run: |
79+
set -euo pipefail
80+
IFS=$'\n\t'
81+
echo "This failure is expected. It is a reminder to update the release notes for this newly created release."
82+
echo "To do so, go to ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/releases/latest and click on the edit button."
83+
echo "Then click on the 'Generate release notes' button and finally the 'Update release' button. Cheers!"
84+
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)