Skip to content

Secure GitHub Actions workflow#13569

Merged
parlough merged 1 commit into
flutter:mainfrom
conooi:harden-workflows
Jul 11, 2026
Merged

Secure GitHub Actions workflow#13569
parlough merged 1 commit into
flutter:mainfrom
conooi:harden-workflows

Conversation

@conooi

@conooi conooi commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

This PR hardens the repository's GitHub Actions workflows against security risks flagged by the zizmor auditing tool. The default top-level permissions have been restricted to contents: read to enforce the principle of least privilege, and all repository checkout steps now set persist-credentials: false to prevent token leakage. A local audit verified that these updates resolve all findings with no outstanding issues.

@conooi conooi requested a review from parlough July 10, 2026 23:06
@conooi conooi requested review from a team and sfshaza2 as code owners July 10, 2026 23:06
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@flutter-website-bot

Copy link
Copy Markdown
Collaborator

Staged preview of the updated docs.flutter.dev site (updated for commit 9180a42):

https://flutter-docs-prod--docs-pr13569-harden-workflows-vhjcjdst.web.app

@flutter-website-bot

Copy link
Copy Markdown
Collaborator

Staged preview of the updated flutter.dev site (updated for commit 9180a42):

https://flutter-dev-230821--www-pr13569-harden-workflows-uba2ts40.web.app

@parlough parlough 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.

Thanks for tackling this @conooi! Looks good to me.

@parlough parlough merged commit d316e6c into flutter:main Jul 11, 2026
18 checks passed
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.

3 participants