Skip to content

chore: update action versions and adjust permissions in workflow files#331

Open
fukusuket wants to merge 1 commit intomainfrom
update-actions
Open

chore: update action versions and adjust permissions in workflow files#331
fukusuket wants to merge 1 commit intomainfrom
update-actions

Conversation

@fukusuket
Copy link
Copy Markdown
Collaborator

@fukusuket fukusuket commented May 3, 2026

What Changed

I have updated third-party action references to use full-length commit SHA, following the best practices.

I’d appreciate it if you could check it when you have time🙏

@fukusuket fukusuket self-assigned this May 3, 2026
@fukusuket fukusuket requested a review from Copilot May 3, 2026 05:06
@fukusuket fukusuket added the bug Something isn't working label May 3, 2026
@fukusuket fukusuket marked this pull request as ready for review May 3, 2026 05:09
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the repository’s GitHub Actions workflows by pinning action references to immutable SHAs and adding explicit GITHUB_TOKEN permissions. It affects the release pipeline plus the audit/config-generation automation that maintains Windows audit data and generated rule metadata.

Changes:

  • Pin core workflow actions (checkout, setup-node, upload-artifact, and PR automation actions) to specific commit SHAs with version annotations.
  • Add explicit workflow-level permissions for read-only workflows and write-capable automation workflows.
  • Adjust release, audit-check, CSV-generation, and rule-metadata workflows to use the updated action references.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/release.yml Pins release workflow actions and adds explicit read-only repository permissions.
.github/workflows/create-rule-meta.yml Pins checkout/PR automation actions and grants write permissions for automated rule update PRs.
.github/workflows/create-csv.yml Pins checkout and enables repository write access for the CSV generation workflow.
.github/workflows/check-audit.yml Pins checkout and adds explicit read-only permissions for the audit validation workflow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/create-rule-meta.yml
Comment thread .github/workflows/create-csv.yml
@fukusuket fukusuket marked this pull request as draft May 3, 2026 05:13
@fukusuket fukusuket marked this pull request as ready for review May 3, 2026 05:37
@fukusuket fukusuket requested a review from YamatoSecurity May 3, 2026 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants