Skip to content

Commit

Permalink
fix code scanning detected "Workflow does not contain permissions" (#…
Browse files Browse the repository at this point in the history
…1396)

* fix code scanning "Workflow does not contain permissions"

* restrict workflow permissions

* lockdown permissions
  • Loading branch information
tsteven4 authored Dec 24, 2024
1 parent b7bd532 commit 9ef6dd4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/codacy-analysis.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Codacy clang-tidy
permissions: {}

on:
push:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/fedora.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: "fedora"
permissions: {}

on:
schedule:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/gendocs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: "gendocs"
permissions: {}

on:
push:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: "ubuntu"
permissions: {}

on:
push:
Expand Down

0 comments on commit 9ef6dd4

Please sign in to comment.