fix: address security risks in GitHub Actions workflows (#1651)

* Remove cache consumption in release workflow.

* Tighten style-check.yml permissions

* Tighten permissions in test workflow that consumes cache.

* Use stricter permissions where possible

---------

Co-authored-by: Justin Halsall <Juice10@users.noreply.github.com>
This commit is contained in:
Adnan Khan
2025-02-12 07:34:42 -05:00
committed by GitHub
parent 88ea2d05c1
commit dfb2991055
3 changed files with 10 additions and 1 deletions

View File

@@ -7,6 +7,8 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Tests
permissions:
contents: read
runs-on: ubuntu-22.04
steps:
- name: Checkout Repo