Skip to content

Use HF Trusted Publisher token in update_metadata workflow - #15096

Merged
sayakpaul merged 3 commits into
mainfrom
moon/update-metadata-trusted-publisher
Oct 22, 2026
Merged

sayakpaul merged 3 commits into
mainfrom
moon/update-metadata-trusted-publisher

Conversation

@coyotte508

Copy link
Copy Markdown
Member

Replaces the long-lived SAYAK_HF_TOKEN secret in the update_metadata workflow with a short-lived (1h) token from the Hub's Trusted Publishers, scoped to datasets/huggingface/diffusers-metadata only.

  • Adds id-token: write so the job can request a GitHub OIDC token
  • Requires huggingface_hub>=1.19.0 for the OIDC token exchange
  • Sets HF_OIDC_RESOURCE instead of HF_TOKEN

@github-actions github-actions Bot added CI size/S PR with diff < 50 LOC labels Oct 21, 2026
@coyotte508
coyotte508 requested a review from sayakpaul October 21, 2026 14:58

@sayakpaul sayakpaul left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@DN6 FYI.

@sayakpaul
sayakpaul merged commit 29d199a into main Oct 22, 2026
12 of 13 checks passed
@sayakpaul
sayakpaul deleted the moon/update-metadata-trusted-publisher branch October 22, 2026 05:18
mingyi456 added a commit to mingyi456/diffusers that referenced this pull request Oct 24, 2026
…/mingyi456/diffusers into animatextconditioner-single-file

* 'animatextconditioner-single-file' of https://github.com/mingyi456/diffusers: (50 commits)
  Remove expired non_ema_revision deprecation blocks from training examples (huggingface#15118)
  Remove duplicated converter and fix import order
  Update src/diffusers/loaders/single_file_utils.py
  add fibo-2 LoRA training and loading (huggingface#15084)
  [ci] fix compilation CI. (huggingface#15092)
  [LoRA] apply .alpha to Qwen-Image lora_A/lora_B LoRAs (huggingface#15016)
  Use HF Trusted Publisher token in update_metadata workflow (huggingface#15096)
  [ci] skip bf16 precision test on T4. (huggingface#15091)
  [LTX-2] Add `motion_speed` to condition the positional time base apart from the playback frame rate (huggingface#14967)
  [ci] fix misnamed test steps in push_tests.yml (huggingface#15094)
  [ci] use python 3.11 when using metadata. (huggingface#15093)
  Fix model imports when torchao is older than 0.15 (huggingface#15095)
  [tests] xfail some kandinsky6 tests (huggingface#14977)
  Add RFD4-Proteina (huggingface#15088)
  Add Bria fibo-2 (huggingface#14991)
  Fix PyArrow compatibility in CPU CI (huggingface#15082)
  [feat] add KVAE-Audio autoencoder (huggingface#14384)
  move unpack out of the flux, krea2 and ltx decoders into the core denoise groups (huggingface#14737)
  post-release 0.41.0 (huggingface#15062)
  FLUX.3: match the released BFL reference image sizing (huggingface#15073)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI size/S PR with diff < 50 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants