mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-04 17:16:03 +02:00
Updated workflows with permission restrictions (#1267)
* Updated workflows * Remove docs verifier for now
This commit is contained in:
@@ -4,7 +4,7 @@ name: 'target supported version'
|
||||
|
||||
# Controls when the action will run.
|
||||
on:
|
||||
# Triggers the workflow on push or pull request event based on a schedule
|
||||
# Triggers the workflow on push or pull request events but only for the default branch
|
||||
schedule:
|
||||
- cron: '0 0 1 * *'
|
||||
workflow_dispatch:
|
||||
@@ -20,6 +20,9 @@ jobs:
|
||||
version-sweep:
|
||||
# The type of runner that the job will run on
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
@@ -31,6 +34,7 @@ jobs:
|
||||
if: ${{ github.event_name == 'workflow_dispatch' }}
|
||||
run: |
|
||||
echo 'Reason: ${{ github.event.inputs.reason }}'
|
||||
|
||||
# Start the .NET version sweeper, scan projects/slns for non-LTS (or currrent) versions
|
||||
- name: .NET version sweeper
|
||||
id: dotnet-version-sweeper
|
||||
|
||||
Reference in New Issue
Block a user