Skip to content

Commit ee51744

Browse files
ci: workflow does not contain permissions (#12)
* Potential fix for code scanning alert no. 8: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com> * Potential fix for code scanning alert no. 7: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com> * Delete .github/workflows/labeler.yaml Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com> --------- Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 8511d67 commit ee51744

3 files changed

Lines changed: 7 additions & 15 deletions

File tree

.github/workflows/labeler.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/workflows/release-beta.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: Publish beta NuGet package
22
on:
33
workflow_dispatch:
4-
4+
permissions:
5+
contents: read
6+
packages: write
57
jobs:
68
check:
79
runs-on: ubuntu-latest

.github/workflows/release-package.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Publish NuGet package
22
on:
33
workflow_dispatch:
44

5+
permissions:
6+
contents: read
7+
packages: write
8+
59
jobs:
610
prereleaseCheck:
711
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)