mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-05 19:08:18 +00:00
Merge pull request #8294 from zen-browser/alert-autofix-6
Potential fix for code scanning alert no. 6: Workflow does not contain permissions
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -1,5 +1,8 @@
|
||||
name: Zen Release builds
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
@@ -77,6 +80,9 @@ jobs:
|
||||
echo "bid=${bdat}" >> $GITHUB_OUTPUT
|
||||
|
||||
start-self-host:
|
||||
permissions:
|
||||
contents: read
|
||||
secrets: read
|
||||
runs-on: ubuntu-latest
|
||||
needs: debug-inputs
|
||||
steps:
|
||||
@@ -102,6 +108,8 @@ jobs:
|
||||
rm start.sh || true
|
||||
|
||||
check-build-is-correct:
|
||||
permissions:
|
||||
contents: read
|
||||
runs-on: ubuntu-latest
|
||||
needs: [debug-inputs]
|
||||
steps:
|
||||
|
Reference in New Issue
Block a user