Skip to content

landing_checks: add PreventDotGithubCheck (bug 1993136)#744

Closed
shtrom wants to merge 11 commits intomainfrom
bug1993136/blocker-github-workflows-rebased
Closed

landing_checks: add PreventDotGithubCheck (bug 1993136)#744
shtrom wants to merge 11 commits intomainfrom
bug1993136/blocker-github-workflows-rebased

Conversation

@shtrom
Copy link
Member

@shtrom shtrom commented Dec 4, 2025

This new Landing check allows us to prevent silent changes to the
.github/workflows directory. It can be overridden by putting
DOT_GITHUB_OVERRIDE in the commit message.

As part of this work, mixin PreventPathCheckMixin is exctracted from
PreventNSPRNSSCheck. The latter is rewritten as a façade to two new, separate,
checks, PreventNSPRCheck and PreventNSSCheck, built using the new mixin.

closes: #701

@github-actions
Copy link

github-actions bot commented Dec 4, 2025

View this pull request in Lando to land it once approved.

@shtrom
Copy link
Member Author

shtrom commented Dec 4, 2025

This is a rebased version of #701.

@shtrom shtrom requested a review from zzzeid December 4, 2025 23:48
@shtrom shtrom requested a review from cgsheeh December 5, 2025 00:02
@shtrom shtrom force-pushed the bug1993136/blocker-github-workflows-rebased branch from 4be2485 to d6bb679 Compare December 5, 2025 00:03
@shtrom shtrom marked this pull request as ready for review December 5, 2025 00:12
This new Landing check allows us to prevent silent changes to the
`.github/workflows` directory. It can be overridden by putting
`DOT_GITHUB_OVERRIDE` in the commit message.
@shtrom shtrom force-pushed the bug1993136/blocker-github-workflows-rebased branch from d6bb679 to 1766978 Compare December 5, 2025 01:27
@shtrom
Copy link
Member Author

shtrom commented Dec 5, 2025

I had to squash a migration rename, and rebase onto the current main.

@shtrom shtrom force-pushed the bug1993136/blocker-github-workflows-rebased branch from 1766978 to a816dbf Compare December 5, 2025 01:31
@lando-prod-mozilla
Copy link

Pull request closed by commit d924299

lando-prod-mozilla bot pushed a commit that referenced this pull request Dec 5, 2025
This new Landing check allows us to prevent silent changes to the
.github/workflows directory. It can be overridden by putting
DOT_GITHUB_OVERRIDE in the commit message.

As part of this work, mixin PreventPathCheckMixin is exctracted from
PreventNSPRNSSCheck. The latter is rewritten as a façade to two new, separate,
checks, PreventNSPRCheck and PreventNSSCheck, built using the new mixin.

closes: #701

Pull request: #744
@shtrom shtrom deleted the bug1993136/blocker-github-workflows-rebased branch January 22, 2026 05:46
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.

2 participants