mirror of
https://github.com/ivuorinen/go-test-sarif.git
synced 2026-02-06 11:50:53 +00:00
fix: workflow permissions, versions
This commit is contained in:
5
.github/workflows/pr-lint.yml
vendored
5
.github/workflows/pr-lint.yml
vendored
@@ -9,7 +9,8 @@ on:
|
||||
pull_request:
|
||||
branches: [master, main]
|
||||
|
||||
permissions: read-all
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
Linter:
|
||||
@@ -22,4 +23,4 @@ jobs:
|
||||
statuses: write
|
||||
|
||||
steps:
|
||||
- uses: ivuorinen/actions/pr-lint@db86bb2f0df059edc619ecca735320ed571f51e0 # v2025.12.21
|
||||
- uses: ivuorinen/actions/pr-lint@5b4e9c8e11c0f77ebb0b0a5751e9851f419f4cb8 # v2025.12.22
|
||||
|
||||
5
.github/workflows/sync-labels.yml
vendored
5
.github/workflows/sync-labels.yml
vendored
@@ -2,7 +2,8 @@
|
||||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
||||
name: Sync labels
|
||||
|
||||
permissions: read-all
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
# yamllint disable-line rule:truthy
|
||||
on:
|
||||
@@ -22,4 +23,4 @@ jobs:
|
||||
issues: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: ivuorinen/actions/sync-labels@db86bb2f0df059edc619ecca735320ed571f51e0 # v2025.12.21
|
||||
- uses: ivuorinen/actions/sync-labels@5b4e9c8e11c0f77ebb0b0a5751e9851f419f4cb8 # v2025.12.22
|
||||
|
||||
Reference in New Issue
Block a user