summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-05-11 00:14:01 +0300
committerGitHub <noreply@github.com>2026-05-11 00:14:01 +0300
commitd15e22a0bbd12b457f0d12d20e58e702c19302b7 (patch)
tree3607dc66e8b411491ef6bbe773e4eaf2118daf84 /.github/workflows
parentbe0085e6697de97de71a8d35855afb13309514f5 (diff)
parent2d56ca8f842c3902fdd5214de2447a1cf2393628 (diff)
downloadvyos-documentation-d15e22a0bbd12b457f0d12d20e58e702c19302b7.tar.gz
vyos-documentation-d15e22a0bbd12b457f0d12d20e58e702c19302b7.zip
Merge pull request #1956 from vyos/yuriy/ai-validation-skip-notice-gate
ci(ai-validation): gate skip-notice comment on opened/reopened only
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ai-validation.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/ai-validation.yml b/.github/workflows/ai-validation.yml
index 19ebd9f6..4c1984e6 100644
--- a/.github/workflows/ai-validation.yml
+++ b/.github/workflows/ai-validation.yml
@@ -172,8 +172,13 @@ jobs:
# addition to the workflow ::notice:: annotation (which only appears
# on the run page). This way a maintainer reviewing the PR sees the
# skip in the same place as other automated review feedback.
+ # Gate on opened/reopened only — without this guard every push (a
+ # `synchronize` event) would post a fresh duplicate skip notice,
+ # flooding the PR conversation on rapid push sequences while the
+ # secrets stay missing. Open/reopen is the right moment to inform
+ # the PR author once; further pushes don't add new information.
- name: Notify on PR (when skipping)
- if: steps.secrets-check.outputs.skip == 'true'
+ if: steps.secrets-check.outputs.skip == 'true' && (github.event.action == 'opened' || github.event.action == 'reopened')
env:
GH_TOKEN: ${{ github.token }}
run: |