Skip to content

feat!: Add auth-logout input and run pixi auth status after login - #291

Merged
pavelzw merged 3 commits into
mainfrom
auth-status
Oct 6, 2026
Merged

pavelzw merged 3 commits into
mainfrom
auth-status

Conversation

@pavelzw

@pavelzw pavelzw commented Oct 6, 2026 •

Copy link
Copy Markdown
Collaborator

closes #290

Changes

  • Run pixi auth status after logging in, in the same "Logging in to private channel" log group.
  • Breaking: Replace the boolean persist-credentials input with an auth-logout enum that controls when pixi auth logout <auth-host> runs:
    • post (default, new): credentials stay available to all subsequent steps and are removed in the post step at the end of the job
    • after-install: log out at the end of the action (previously persist-credentials: false)
    • never: never log out (previously persist-credentials: true, the old default)
  • Setting persist-credentials now fails with an error that points to auth-logout, instead of being silently ignored.

Migration

before after
persist-credentials: false auth-logout: after-install
persist-credentials: true / not set auth-logout: never to keep the old behavior, or leave it unset to log out in the post step

If updating documentation:

@pavelzw pavelzw changed the title feat: Run pixi auth status after logging in feat!: Run pixi auth status after logging in Oct 6, 2026
@pavelzw pavelzw added the enhancement New feature or request label Oct 6, 2026
Replace persist-credentials with auth-logout (post | after-install | never).
The default (post) logs out in the post step at the end of the job.

Closes #290
@pavelzw pavelzw changed the title feat!: Run pixi auth status after logging in feat!: Add auth-logout input and run pixi auth status after login Oct 6, 2026
@pavelzw
pavelzw merged commit 9dabb60 into main Oct 6, 2026
194 checks passed
@pavelzw
pavelzw deleted the auth-status branch October 6, 2026 16:15
@pavelzw

pavelzw commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator Author

fyi @AndreasAlbertQC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: run pixi auth status after logging in

1 participant