Skip to content

Commit

Permalink
CI: GitHub Workflows security hardening (#3377)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex <aleksandrosansan@gmail.com>
  • Loading branch information
sashashura committed Sep 26, 2022
1 parent d1004ee commit 32a22b5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci-darwin-arm64v8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@ name: CI (MacStadium)
on:
- push
- pull_request
permissions: {}
jobs:
CI:
permissions:
contents: write # for npx prebuild to make release
runs-on: macos-m1
strategy:
fail-fast: false
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@ name: CI (GitHub)
on:
- push
- pull_request
permissions: {}
jobs:
CI:
permissions:
contents: write # for npx prebuild to make release
checks: write # to create new checks (coverallsapp/github-action)

runs-on: ${{ matrix.os }}
container: ${{ matrix.container }}
strategy:
Expand Down

0 comments on commit 32a22b5

Please sign in to comment.