mirror of
https://github.com/Yamato-Security/WELA.git
synced 2026-05-22 03:01:25 +02:00
fix: update actions/checkout and permissions in workflow YAML files
This commit is contained in:
@@ -5,6 +5,9 @@ on:
|
||||
branches: [ "*" ]
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
@@ -12,7 +15,7 @@ jobs:
|
||||
os: [windows-latest, windows-2022, windows-2025]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- name: Check PowerShell version(PowerShell core)
|
||||
run: |
|
||||
$PSVersionTable.PSVersion
|
||||
|
||||
Reference in New Issue
Block a user