Skip to content

ci: add working dir prefix to file paths - #24319

Merged
emilburzo merged 2 commits into
mainfrom
ci-node-version-file-working-dir
Jul 23, 2026
Merged

emilburzo merged 2 commits into
mainfrom
ci-node-version-file-working-dir

Conversation

@emilburzo

Copy link
Copy Markdown
Member

No description provided.

@emilburzo emilburzo self-assigned this Jul 23, 2026
Copilot AI review requested due to automatic review settings July 23, 2026 12:58

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

Updates the repo’s composite CI setup action so Node.js version selection can work when the repository is checked out into a subdirectory (via the action’s working-directory input).

Changes:

  • Prefix actions/setup-node’s node-version-file with ${{ inputs.working-directory }} so it resolves correctly in non-root checkouts.
Comments suppressed due to low confidence (1)

.github/actions/setup/action.yml:87

  • When inputs.working-directory is set, cache-dependency-path still points at pnpm-lock.yaml/web/pnpm-lock.yaml relative to the workspace root. This can cause actions/setup-node to hash non-existent paths (empty hash), leading to an overly broad cache key and incorrect cache reuse across lockfile changes. Prefix these paths with inputs.working-directory as well (and keep quoting consistent with other *-version-file inputs).
        node-version-file: ${{ inputs.working-directory }}package.json
        cache: pnpm
        cache-dependency-path: |
          pnpm-lock.yaml
          web/pnpm-lock.yaml

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

@netlify

netlify Bot commented Jul 23, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit ffa3ced
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a620ffbd4813d00080966ae
😎 Deploy Preview https://deploy-preview-24319--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.

Copilot AI review requested due to automatic review settings July 23, 2026 13:03
@emilburzo emilburzo changed the title ci: add working dir to node-version-file ci: add working dir prefix to files Jul 23, 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

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread .github/actions/setup/action.yml Resolved
@codecov

codecov Bot commented Jul 23, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.46%. Comparing base (5f6b68d) to head (799f6eb).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #24319      +/-   ##
==========================================
- Coverage   93.50%   93.46%   -0.05%     
==========================================
  Files        1063     1063              
  Lines       64068    64068              
  Branches      424      424              
==========================================
- Hits        59907    59880      -27     
- Misses       4161     4188      +27     
Flag Coverage Δ
conformance 35.45% <ø> (+<0.01%) ⬆️
e2e 40.40% <ø> (-0.01%) ⬇️
integration 31.94% <ø> (-0.04%) ⬇️
rust 0.00% <ø> (ø)
unit 92.68% <ø> (+<0.01%) ⬆️
unit-migrate 92.36% <ø> (-0.35%) ⬇️

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.

@emilburzo emilburzo changed the title ci: add working dir prefix to files ci: add working dir prefix to file paths Jul 23, 2026
@github-actions

github-actions Bot commented Jul 23, 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-799f6eb12035253880e4c84d6f62908da5fb9ed5
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-799f6eb12035253880e4c84d6f62908da5fb9ed5

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

@emilburzo
emilburzo marked this pull request as ready for review July 23, 2026 13:31
@emilburzo
emilburzo requested a review from a team as a code owner July 23, 2026 13:31
@rissson

rissson commented Jul 23, 2026

Copy link
Copy Markdown
Member

@emilburzo does this need backporting?

@emilburzo

Copy link
Copy Markdown
Member Author

@rissson yes, but just one line is needed. let's see how it goes

@emilburzo
emilburzo merged commit 3d54bd4 into main Jul 23, 2026
124 checks passed
@emilburzo
emilburzo deleted the ci-node-version-file-working-dir branch July 23, 2026 13:38
@emilburzo emilburzo added backport/version-2026.2 Add this label to PRs to backport changes to version-2026.2 backport/version-2026.5 Add this label to PRs to backport changes to version-2026.5 labels Jul 23, 2026
@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

⚠️ Cherry-pick to version-2026.2 has conflicts: #24321

@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

⚠️ Cherry-pick to version-2026.5 has conflicts: #24322

emilburzo added a commit that referenced this pull request Jul 23, 2026
…on-2026.2) (#24321)

* Cherry-pick #24319 to version-2026.2 (with conflicts)

This cherry-pick has conflicts that need manual resolution.

Original PR: #24319
Original commit: 3d54bd4

* fix conflict

---------

Co-authored-by: Emil Burzo <[email protected]>
rissson pushed a commit that referenced this pull request Jul 23, 2026
kensternberg-authentik added a commit that referenced this pull request Jul 23, 2026
* main: (172 commits)
  web/admin: QOL: Add "Expiring in `n` days" and "Expiring today" notices to LicenseStatusCard (#24300)
  stages/authenticator: protect devices from stage deletion (#24324)
  core: prompt securely when hashing passwords (#24126)
  events: show account changes in user event history (#24323)
  website/integrations: The Lounge: cleanup (#23628)
  ci: bump taiki-e/install-action from 2.83.4 to 2.84.0 in /.github/actions/setup (#24312)
  ci: add working dir prefix to file paths (#24319)
  core, web: update translations (#24304)
  packages/ak-common/tracing: make console subscriber optional (#24219)
  website: bump the build group in /website with 6 updates (#24305)
  core: bump pnpm/pnpm from 11.15.0 to 11.15.1 in /lifecycle/container (#24308)
  core: bump pnpm/pnpm from 11.15.0 to 11.15.1 in /website (#24309)
  core: bump constructs from 10.6.0 to 10.7.0 (#24310)
  core: bump uuid from 1.23.5 to 1.24.0 (#24311)
  enterprise/providers/ws_fed: add SAML 1.1 support (#23851)
  web/admin: enterprise status card properties (#24170)
  web/elements: update the progress bar (#24134)
  web/maint: upgrade ak-divider (#24082)
  web/bug: harmonize and make routine the display of tasks (part 6: sch… (#23859)
  web/maint: upgrade ak-toggle-group (#24038)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/version-2026.2 Add this label to PRs to backport changes to version-2026.2 backport/version-2026.5 Add this label to PRs to backport changes to version-2026.5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants