Skip to content

scope ci push triggers to main#52

Merged
erick-ti merged 2 commits into
mainfrom
chore-gitleaks-trigger
Jul 9, 2026
Merged

scope ci push triggers to main#52
erick-ti merged 2 commits into
mainfrom
chore-gitleaks-trigger

Conversation

@erick-ti

@erick-ti erick-ti commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Every workflow ran twice on each pull request, once for the push to the PR
branch and once for the pull_request event. Scoping the push trigger to main
in gitleaks, tests, and web leaves one run per PR, and main is still covered
on every push after a merge. Required checks are unaffected, since all four
contexts report from the pull_request run. Two deltas worth knowing: a branch
with no open PR is no longer scanned or tested until the PR opens, and tag
pushes no longer trigger these workflows (none of them build or publish).

erick-ti added 2 commits July 8, 2026 23:06
An unscoped push trigger ran gitleaks twice on every pull request, once
for the push to the PR branch and once for the pull_request event. Scope
push to main so PR branches get exactly one run.

Pre-merge coverage is unchanged. The required check "scan for secrets" is
produced by the pull_request run, and main is still scanned on every push
after a merge.
Mirrors the gitleaks change. Both ran twice on every pull request, once
for the push to the PR branch and once for the pull_request event. Scope
push to main so each runs once per PR.

The required contexts all report from the pull_request run, so merges are
unaffected. A branches filter with no tags key means tag pushes no longer
trigger these workflows, and neither one builds or publishes anything.
@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
doppel Ready Ready Preview, Comment Jul 9, 2026 6:38am

@erick-ti erick-ti merged commit 1bdaa32 into main Jul 9, 2026
10 checks passed
@erick-ti erick-ti deleted the chore-gitleaks-trigger branch July 9, 2026 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant