Skip to content

Commit d7bbf4a

Browse files
committed
ci(release): fail workflow as a reminder to generate release notes
1 parent 0baf47d commit d7bbf4a

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