mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 10:30:15 +02:00
CI: GitHub Workflows security hardening (#3377)
Signed-off-by: Alex <aleksandrosansan@gmail.com>
This commit is contained in:
parent
d1004eed02
commit
32a22b5420
3
.github/workflows/ci-darwin-arm64v8.yml
vendored
3
.github/workflows/ci-darwin-arm64v8.yml
vendored
@ -2,8 +2,11 @@ name: CI (MacStadium)
|
|||||||
on:
|
on:
|
||||||
- push
|
- push
|
||||||
- pull_request
|
- pull_request
|
||||||
|
permissions: {}
|
||||||
jobs:
|
jobs:
|
||||||
CI:
|
CI:
|
||||||
|
permissions:
|
||||||
|
contents: write # for npx prebuild to make release
|
||||||
runs-on: macos-m1
|
runs-on: macos-m1
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -2,8 +2,13 @@ name: CI (GitHub)
|
|||||||
on:
|
on:
|
||||||
- push
|
- push
|
||||||
- pull_request
|
- pull_request
|
||||||
|
permissions: {}
|
||||||
jobs:
|
jobs:
|
||||||
CI:
|
CI:
|
||||||
|
permissions:
|
||||||
|
contents: write # for npx prebuild to make release
|
||||||
|
checks: write # to create new checks (coverallsapp/github-action)
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
container: ${{ matrix.container }}
|
container: ${{ matrix.container }}
|
||||||
strategy:
|
strategy:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user