mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-04 09:06:04 +02:00
Updated workflows with permission restrictions (#1267)
* Updated workflows * Remove docs verifier for now
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user