Skip to content

Commit 30c07a1

Browse files
authored
ci: require the AI-Assisted tag only on commits done after 2026 (secdev#5004)
1 parent 527d8ec commit 30c07a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.config/ci/check_commits.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# We copy Wireshark's contributing guide, thanks to them for the idea !
77
# This script is inspired by https://gitlab.com/wireshark/wireshark/-/blob/master/.gitlab-ci.yml
88

9-
commits=$(git rev-list --no-merges --max-count=$((PR_FETCH_DEPTH - 1)) HEAD)
9+
commits=$(git rev-list --no-merges --after="2026-01-00T00:00:00" --max-count=$((PR_FETCH_DEPTH - 1)) HEAD)
1010
if [ -z "$commits" ]; then
1111
echo "No commit to check in PR. OK."
1212
exit 0

0 commit comments

Comments
 (0)