GHA: license check and action pinning#7
Conversation
There was a problem hiding this comment.
Pull request overview
Adds GitHub Actions checks to enforce pinned action refs and validate Apache license headers as part of the existing CI workflow.
Changes:
- Introduces reusable workflows for pin-checking (
pinact) and license-header checking (addlicensevia Docker). - Updates the main build workflow to call these reusable workflows.
- Pins previously unpinned GitHub Actions to specific commit SHAs and tightens job permissions for the build job.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
.github/workflows/pin_check.yml |
New reusable workflow to verify uses: refs are pinned. |
.github/workflows/license_check.yml |
New reusable workflow to validate Apache license headers via addlicense. |
.github/workflows/builds.yml |
Calls the new reusable workflows; pins action versions by SHA; adds contents: read permissions for the build job. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ntain permissions' Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Agent-Logs-Url: https://github.com/livekit-examples/cpp-example-collection/sessions/bf6c5bcf-16e7-41e2-8c68-51a4ddddf58b Co-authored-by: stephen-derosa <40528896+stephen-derosa@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
No description provided.