GitHub Workflows security hardening (#7883)

pull/7952/head
Alex 2 years ago committed by GitHub
parent 0b46c72cad
commit a752ef4709
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,7 @@
name: CI
on: [push, pull_request]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
Tests:
runs-on: ${{ matrix.os }}

@ -7,6 +7,8 @@ on:
paths:
- site/content/**
permissions: {}
jobs:
release:
name: Deploy docs
@ -25,4 +27,4 @@ jobs:
repo: 'svelte'
branch: 'master'
docs_path: 'site/content'
token: ${{ steps.github-app.outputs.token }}
token: ${{ steps.github-app.outputs.token }}

Loading…
Cancel
Save