Skip to content

Release: Bump version pusht mit Deploy Key am Ruleset vorbei - #397

Merged
firsttris merged 1 commit into
mainfrom
claude/friendly-noether-r4x7ha
Nov 8, 2026
Merged

firsttris merged 1 commit into
mainfrom
claude/friendly-noether-r4x7ha

Conversation

@firsttris

Copy link
Copy Markdown
Owner

Anlass

Der Button Bump version schlägt seit dem Ruleset auf main fehl (Lauf):

remote: error: GH013: Repository rule violations found for refs/heads/main.
remote: - Changes must be made through a pull request.
remote: - 8 of 8 required status checks are expected.

Den GITHUB_TOKEN kann man nicht auf die Bypass-Liste eines Rulesets setzen, einen Deploy Key schon.

Änderung

  • .github/workflows/bump.yml: gibt das Secret BUMP_DEPLOY_KEY als deploy-key an den gemeinsamen Workflow weiter, der auf den Stand von Bump version: push with a deploy key past a ruleset workflows#42 gepinnt ist (Commit 2ef860c, der Head dieses PRs).
  • docs/entwicklung.md (Veröffentlichen): Deploy Key und Bypass-Liste beschrieben; der lokale Weg geht nur noch für Leute auf der Bypass-Liste.

Deploy Key mit Schreibrecht, Secret BUMP_DEPLOY_KEY und „Deploy keys“ auf der Bypass-Liste sind schon eingerichtet.

Reihenfolge

  1. Bump version: push with a deploy key past a ruleset workflows#42 mergen.
  2. Optional den Pin hier auf den Squash-Commit von Auftragsbestätigung und Lieferschein #42 heben. Bis dahin bleibt 2ef860c über refs/pull/42/head erreichbar, und Renovate hebt den Pin ohnehin.
  3. Diesen PR mergen, dann Actions → Bump version → patch (0.6.3; der fehlgeschlagene Lauf hat nichts hinterlassen).

Prüfungen

Nur Workflow- und Doku-Änderungen: YAML geparst, actionlint läuft in der CI. zensical build --strict habe ich nicht lokal ausgeführt. Lint, Typecheck, Tests und Build betrifft die Änderung nicht.


Generated by Claude Code

Das Ruleset auf main (Pull Request, 8 Status-Checks) lehnt den Push mit
dem GITHUB_TOKEN ab (GH013, Lauf 42470263138). Der gemeinsame Workflow
nimmt jetzt das Secret deploy-key (firsttris/workflows#42); der Deploy
Key steht auf der Bypass-Liste des Rulesets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y3rdfXpBafq4kFbwiY2UFF
@firsttris
firsttris merged commit 6cba1fa into main Nov 8, 2026
9 of 10 checks passed
@firsttris
firsttris deleted the claude/friendly-noether-r4x7ha branch November 8, 2026 10:46
firsttris added a commit that referenced this pull request Nov 8, 2026
…pinnen (#398)

## Anlass

Nach #397 endete *Bump version* mit `startup_failure`
([Lauf](https://github.com/firsttris/haben/actions/runs/42473190896)):

```
error parsing called workflow ".github/workflows/bump.yml"
-> "firsttris/workflows/.github/workflows/bump-version.yml@2ef860cd1cbc78263aa5c5ad580624ab8b607c8a"
: workflow was not found.
```

`2ef860c` war der Head von firsttris/workflows#42. Nach dem Squash-Merge
und dem Löschen des Branches liegt er nur noch unter
`refs/pull/42/head`, und dort findet Actions keine Reusable Workflows.
Meine Annahme in #397, dass der Pin erreichbar bleibt, war falsch.

## Änderung

`.github/workflows/bump.yml` pinnt auf `b66b54d`, den Squash-Commit von
#42 auf `main` von firsttris/workflows. Der Inhalt ist derselbe wie bei
`2ef860c`.

---
_Generated by [Claude
Code](https://claude.ai/code/session_01Y3rdfXpBafq4kFbwiY2UFF)_

Co-authored-by: Claude <noreply@anthropic.com>
firsttris added a commit that referenced this pull request Nov 8, 2026
## Anlass

Wie beim Bump (#397, #398): Das Ruleset
auf `main` lehnt Pushes mit dem `GITHUB_TOKEN` ab, deshalb kann *Update
screenshots* auf `main` seinen Commit nicht mehr pushen.

## Änderung

- `.github/workflows/screenshots.yml`: gepinnt auf `e3bd464`, den
Merge-Commit von firsttris/workflows#43 auf `main`. Übergibt
`BUMP_DEPLOY_KEY` als `deploy-key`. Das ist derselbe Deploy Key wie beim
Bump, er steht schon auf der Bypass-Liste. Den Kommentar am Pin habe ich
von `# v1` auf `# main` geändert, weil der Commit nicht auf dem Tag `v1`
liegt.
- `docs/entwicklung.md`: ein Satz zum Push auf `main` mit dem Deploy
Key.

Im Playwright-Image ist `openssh-client` installiert, deshalb
funktioniert der Deploy Key auch im Container. Getestet ist das erst mit
dem ersten Lauf auf `main` nach dem Merge. Der Commit mit den Bildern
startet dann die CI auf `main`.

---
_Generated by [Claude
Code](https://claude.ai/code/session_01Y3rdfXpBafq4kFbwiY2UFF)_

Co-authored-by: Claude <noreply@anthropic.com>
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