Skip to content

Improve GitHub Actions workflows#325

Merged
masutaka merged 2 commits intomainfrom
improve-gh-actions-workflow
Apr 5, 2026
Merged

Improve GitHub Actions workflows#325
masutaka merged 2 commits intomainfrom
improve-gh-actions-workflow

Conversation

@masutaka
Copy link
Copy Markdown
Owner

@masutaka masutaka commented Apr 5, 2026

Summary

  • Replace reviewdog/action-actionlint with own reusable workflow (masutaka/actions/.github/workflows/actionlint.yml@main)
  • Align caller-side permissions with the contract change in reusable workflow の permissions を整備する actions#30
    • Add pull-requests: read to the codeql caller so dorny/paths-filter can read PR files via the REST API
    • Drop over-privileged checks: read from the codeql and codeql_core callers
    • Narrow pushover caller permissions to {} since it only calls the Pushover API

@masutaka masutaka self-assigned this Apr 5, 2026
- Add pull-requests: read to codeql caller so dorny/paths-filter can read PR files
- Drop over-privileged checks: read from codeql and codeql_core callers
- Narrow pushover caller permissions to {} since it only calls Pushover API
@masutaka masutaka marked this pull request as ready for review April 5, 2026 10:06
@masutaka masutaka merged commit 8cb8406 into main Apr 5, 2026
7 checks passed
@masutaka masutaka deleted the improve-gh-actions-workflow branch April 5, 2026 10:06
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