Skip to content

Set workflow permissions and replace deprecated set-output - #700

Merged
daggerhart merged 1 commit into
developfrom
ci--workflow-permissions
Nov 17, 2026
Merged

daggerhart merged 1 commit into
developfrom
ci--workflow-permissions

Conversation

@daggerhart

Copy link
Copy Markdown
Collaborator

Gives every workflow an explicit, read-only GITHUB_TOKEN and removes the last uses of the deprecated set-output command.

Changes

  • i18n.yml, linting.yml, static-analysis.yml, release.yml: add permissions: contents: read. unit-testing.yml already had it. The release workflow deploys to WordPress.org SVN with its environment secrets and doesn't write to GitHub.
  • linting.yml, static-analysis.yml: write the Composer cache directory to $GITHUB_OUTPUT instead of using ::set-output.

Give every workflow an explicit read-only token, and write step
outputs to $GITHUB_OUTPUT instead of the deprecated set-output
command.
@daggerhart
daggerhart merged commit 2cc0695 into develop Nov 17, 2026
12 checks passed
@daggerhart
daggerhart deleted the ci--workflow-permissions branch November 17, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant