Skip to content

ci: remove redundant if in cherry-pick action - #22859

Merged
BeryJu merged 1 commit into
mainfrom
cherry-pick-fix-redundant-if
Jun 8, 2026
Merged

BeryJu merged 1 commit into
mainfrom
cherry-pick-fix-redundant-if

Conversation

@emilburzo

Copy link
Copy Markdown
Member

Remove redundant if clause. Noticed in #22828 (comment)


Checklist

  • Local tests pass (ak test authentik/)
  • The code has been formatted (make lint-fix)

If an API change has been made

  • The API schema and clients have been updated (make gen)

If changes to the frontend have been made

  • The code has been formatted (make web)

If applicable

  • The documentation has been updated
  • The documentation has been formatted (make docs)

@emilburzo emilburzo self-assigned this Jun 4, 2026
Copilot AI review requested due to automatic review settings June 4, 2026 14:23
@emilburzo
emilburzo requested a review from a team as a code owner June 4, 2026 14:23
@emilburzo emilburzo moved this from Todo to Needs review in authentik Core Jun 4, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR simplifies the .github/actions/cherry-pick composite action by removing a redundant conditional branch in the label-handling logic, keeping the behavior unchanged while reducing unnecessary code.

Changes:

  • Remove an if [ "$EVENT_NAME" = "issues" ] conditional where both branches performed the same assignment.
  • Always assign LABEL_NAME from LABEL_NAME_CTX for the label_added_to_merged_pr path.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@netlify

netlify Bot commented Jun 4, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 7920b85
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a218a4720f6570008dabdcc
😎 Deploy Preview https://deploy-preview-22859--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Jun 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.25%. Comparing base (b9d4a56) to head (7920b85).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #22859      +/-   ##
==========================================
- Coverage   93.27%   93.25%   -0.03%     
==========================================
  Files        1033     1033              
  Lines       60150    60150              
  Branches      400      400              
==========================================
- Hits        56107    56093      -14     
- Misses       4043     4057      +14     
Flag Coverage Δ
conformance 36.56% <ø> (+<0.01%) ⬆️
e2e 41.82% <ø> (+<0.01%) ⬆️
integration 32.51% <ø> (-0.49%) ⬇️
rust 0.00% <ø> (ø)
unit 92.23% <ø> (+<0.01%) ⬆️
unit-migrate 92.26% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-7920b8598388311f0be2f2340b466e862625cfa4
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

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-7920b8598388311f0be2f2340b466e862625cfa4

Afterwards, run the upgrade commands from the latest release notes.

@github-project-automation github-project-automation Bot moved this from Needs review to In Progress in authentik Core Jun 8, 2026
@BeryJu
BeryJu merged commit 24157ca into main Jun 8, 2026
111 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Jun 8, 2026
@BeryJu
BeryJu deleted the cherry-pick-fix-redundant-if branch June 8, 2026 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants