Repository navigation
ci: fix checkout stable - #18303
Merged
Merged
ci: fix checkout stable#18303
Conversation
If you don't happen to read the logs of this step, everything seems fine and `git checkout $(prev_stable)` is just interpreted as the no-op `git checkout`. That's because `$()` spawns a subshell and subshell errors don't stop execution on `set -eo pipefail`. In fact, a quick search didn't reveal any way to catch this typo with `set`. I wonder how long this could have stayed hidden if I wasn't specifically looking at this workflow for a completely different reason.
✅ Deploy Preview for authentik-integrations canceled.
|
✅ Deploy Preview for authentik-storybook canceled.
|
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #18303 +/- ##
=======================================
Coverage 92.92% 92.93%
=======================================
Files 894 894
Lines 48919 48919
=======================================
+ Hits 45457 45461 +4
+ Misses 3462 3458 -4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Contributor
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-d62a9fcfa799d74e1fe1430d0e4e85037ef86750
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)sAfterwards, run the upgrade commands from the latest release notes. Instructions for KubernetesAdd the following block to your authentik:
outposts:
container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
image:
repository: ghcr.io/goauthentik/dev-server
tag: gh-d62a9fcfa799d74e1fe1430d0e4e85037ef86750Afterwards, run the upgrade commands from the latest release notes. |
BeryJu
approved these changes
Nov 20, 2025
gergosimonyi
added a commit
that referenced
this pull request
Jan 14, 2026
Fixes the fix at #18303 This fails on version branches that already have releases, because the version tag is named `version/${numbers}`, not just ${numbers}.
gergosimonyi
added a commit
that referenced
this pull request
Jan 14, 2026
Fixes the fix at #18303 This fails on version branches that already have releases, because the version tag is named `version/${numbers}`, not just `${numbers}`.
BeryJu
added a commit
that referenced
this pull request
Jan 15, 2026
* ci: fix checkout stable (again) Fixes the fix at #18303 This fails on version branches that already have releases, because the version tag is named `version/${numbers}`, not just `${numbers}`. * lint by human Thank you <3 Co-authored-by: Jens L. <[email protected]> Signed-off-by: Simonyi Gergő <[email protected]> --------- Signed-off-by: Simonyi Gergő <[email protected]> Co-authored-by: Jens L. <[email protected]>
BeryJu
added a commit
that referenced
this pull request
Jan 15, 2026
* ci: fix checkout stable (again) Fixes the fix at #18303 This fails on version branches that already have releases, because the version tag is named `version/${numbers}`, not just `${numbers}`. * lint by human Thank you <3 Co-authored-by: Jens L. <[email protected]> Signed-off-by: Simonyi Gergő <[email protected]> --------- Signed-off-by: Simonyi Gergő <[email protected]> Co-authored-by: Jens L. <[email protected]>
BeryJu
added a commit
that referenced
this pull request
Jan 15, 2026
* ci: fix checkout stable (again) Fixes the fix at #18303 This fails on version branches that already have releases, because the version tag is named `version/${numbers}`, not just `${numbers}`. * lint by human Thank you <3 --------- Signed-off-by: Simonyi Gergő <[email protected]> Co-authored-by: Simonyi Gergő <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If you don't happen to read the logs of this step, everything seems fine and
git checkout $(prev_stable)is just interpreted as the no-opgit checkout. That's because$()spawns a subshell and subshell errors don't stop execution onset -eo pipefail. In fact, a quick search didn't reveal any way to catch this typo withset.I wonder how long this could have stayed hidden if I wasn't specifically looking at this workflow for a completely different reason.