Potential fix for code scanning alert no. 3: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
64f0304584
commit
116b62eda4
1 file changed
+6
@@ -1,4 +1,6 @@
|
||||
name: Build Packages
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on:
|
||||
release:
|
||||
@@ -13,6 +15,8 @@ on:
|
||||
jobs:
|
||||
build-deb:
|
||||
name: Build DEB Package (${{ matrix.arch }})
|
||||
permissions:
|
||||
contents: write
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
@@ -90,6 +94,8 @@ jobs:
|
||||
|
||||
build-rpm:
|
||||
name: Build RPM Package (${{ matrix.arch }})
|
||||
permissions:
|
||||
contents: write
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
|
||||
Reference in new issue
Block a user