Skip to content

feat(scripts): add Push-Main.ps1 to auto-retry GitLab creation-gated pipelines - #71

Merged
emmanuelknafo merged 1 commit into
mainfrom
feature/70-push-main-retry-helper
Jul 22, 2026
Merged

feat(scripts): add Push-Main.ps1 to auto-retry GitLab creation-gated pipelines#71
emmanuelknafo merged 1 commit into
mainfrom
feature/70-push-main-retry-helper

Conversation

@emmanuelknafo

Copy link
Copy Markdown
Contributor

Adds scripts/Push-Main.ps1: pushes the current branch and, for gitlab.com remotes, auto-retries a pipeline that GitLab.com killed at the compute-minutes creation gate (all jobs created, started_at null). No-op for GitHub/ADO remotes.

Closes #70

Optional alias: git config alias.pushm '!pwsh -File scripts/Push-Main.ps1' then git pushm.

…pipelines

GitLab.com kills fresh-push pipelines at creation when the namespace is over its compute-minutes quota (all jobs stuck in 'created'); a retry bypasses the gate. Push-Main.ps1 pushes then auto-retries such pipelines via glab for gitlab.com remotes; no-op for GitHub/ADO.

Closes #70
@emmanuelknafo
emmanuelknafo requested a review from CalinL as a code owner July 22, 2026 18:32
@emmanuelknafo
emmanuelknafo merged commit 2de308f into main Jul 22, 2026
3 checks passed
@emmanuelknafo
emmanuelknafo deleted the feature/70-push-main-retry-helper branch July 22, 2026 18:32
@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA b0fefab.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

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.

Add Push-Main.ps1 helper to auto-retry GitLab pipelines killed by the compute-minutes creation gate

1 participant