diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 21bcd10..2001c8d 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -4,6 +4,8 @@ # For our project, we generate this file through a build process from other source files. # We need to make sure the checked-in `index.js` actually matches what we expect it to be. name: Check dist/ +permissions: + contents: read on: push: @@ -24,7 +26,7 @@ jobs: - uses: actions/checkout@v4 - name: Set Node.js 16.x - uses: actions/setup-node@v4.2.0 + uses: actions/setup-node@v4.4.0 with: node-version: 16.x diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a85fb07..90e30ff 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,6 @@ name: "Test" +permissions: + contents: read on: pull_request: workflow_dispatch: