Skip to content

fix(ci): correct USER_UID env var in pre-commit workflow#380

Open
SaitejaKommi wants to merge 1 commit intoopenfoodfacts:mainfrom
SaitejaKommi:fix/ci-user-uid-typo
Open

fix(ci): correct USER_UID env var in pre-commit workflow#380
SaitejaKommi wants to merge 1 commit intoopenfoodfacts:mainfrom
SaitejaKommi:fix/ci-user-uid-typo

Conversation

@SaitejaKommi
Copy link
Copy Markdown

Summary

This PR fixes a typo in the pre-commit workflow where USER_IID was exported instead of USER_UID.

The correction ensures UID-based behavior remains consistent for Docker build/test steps in CI.


Related issue


What changed

  • Updated one line in pre-commit.yml:
    • Replaced USER_IID with USER_UID

Why this is needed

  • Build scripts and container ownership logic expect USER_UID
  • Prevents UID mismatches in CI environments
  • Improves consistency for Docker-based workflow steps

Scope

  • pre-commit.yml (single-line change)

Testing Done

  • Backend unit tests: passed
  • Backend integration tests: passed
  • Frontend build: passed
  • Frontend tests: passed in dev and prod modes

@github-project-automation github-project-automation Bot moved this from Backlog (ready for dev) to In Progress in 🔎 Search-a-licious Apr 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

CI pre-commit workflow uses USER_IID instead of USER_UID

3 participants