Skip to content

Use GHA's self-repo syntax - #20966

Merged
woodruffw merged 3 commits into
mainfrom
ww/self-repo
Aug 5, 2026
Merged

woodruffw merged 3 commits into
mainfrom
ww/self-repo

Conversation

@woodruffw

Copy link
Copy Markdown
Member

Summary

Context: https://github.blog/changelog/2026-07-30-reference-same-repository-actions-with-self-repository-syntax/

This switches us from uses: ./... to uses: $/. GHA prefers this syntax since it anchors the usage in the actual repository state, rather than whatever filesystem state the runner happens to have at that moment.

(zizmor does not suggest this yet, but will soon.)

Test Plan

NFC, CI only. We may need to bump zizmor-action since only the latest release knows about this syntax.

@woodruffw woodruffw self-assigned this Aug 5, 2026
@woodruffw woodruffw added the internal A refactor or improvement that is not user-facing label Aug 5, 2026
@zanieb

zanieb commented Aug 5, 2026

Copy link
Copy Markdown
Member

Probably needs to be in AGENTS.md tbh the agents are gonna not use this

@woodruffw

Copy link
Copy Markdown
Member Author

Probably needs to be in AGENTS.md tbh the agents are gonna not use this

Yeah, can do. The next version of zizmor will also flag it though, maybe that's sufficient?

(Either way I can add to agents now and we can re-evaluate later.)

@woodruffw
woodruffw marked this pull request as ready for review August 5, 2026 16:08
Comment thread .github/workflows/ci.yml Fixed
Comment thread .github/workflows/ci.yml Fixed
Comment thread .github/workflows/ci.yml Fixed
Comment thread .github/workflows/ci.yml Fixed
Comment thread .github/workflows/ci.yml Fixed
Comment thread .github/workflows/release.yml Fixed
Comment thread .github/workflows/release.yml Fixed
Comment thread .github/workflows/release.yml Fixed
Comment thread .github/workflows/release.yml Fixed
Comment thread .github/workflows/release.yml Fixed
Signed-off-by: William Woodruff <[email protected]>
Signed-off-by: William Woodruff <[email protected]>
@woodruffw

Copy link
Copy Markdown
Member Author

NB: those zizmor warnings are pre-existing, they're just churning because the lines changed.

Signed-off-by: William Woodruff <[email protected]>

This branch was previously deployed

1 inactive deployment
automations — 291e953e Deployed Aug 5, 2026 by woodruffw via review / security review #44214
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal A refactor or improvement that is not user-facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants