Updated workflows with permission restrictions (#1267)

* Updated workflows

* Remove docs verifier for now
This commit is contained in:
Andy (Steve) De George
2022-01-07 13:34:04 -08:00
committed by GitHub
parent 50d7e1b38f
commit 97abdbc51c
5 changed files with 18 additions and 25 deletions
+6 -4
View File
@@ -2,10 +2,10 @@
name: 'Snippets 5000'
# Controls when the action will run. Triggers the workflow on push or pull request
# events on the main branch only.
on:
pull_request:
paths:
branches: '*'
branches: [ main ]
types: [opened, synchronize, reopened]
env:
@@ -15,10 +15,12 @@ env:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build snippets"
build-snippets:
# This workflow contains a single job called "snippets-build"
snippets-build:
# The type of runner that the job will run on
runs-on: windows-latest
permissions:
statuses: write
# Steps represent a sequence of tasks that will be executed as part of the job
steps: