Skip to content

Commit 5998c95

Browse files
authored
Update CI workflow permissions for actions (#826)
* Update CI workflow permissions for actions Added permissions for actions and contents in CI workflow. * Enable installation of workloads in CI build
1 parent be7fd7e commit 5998c95

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci-build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,17 @@ on:
66
pull_request:
77
branches: [ main ]
88

9+
# Needed so the reusable workflow can optionally delete the temp per-OS artifacts it creates.
10+
permissions:
11+
contents: read
12+
actions: write
13+
914
jobs:
1015
build:
1116
uses: reactiveui/actions-common/.github/workflows/workflow-common-setup-and-build.yml@main
1217
with:
1318
configuration: Release
1419
productNamespacePrefix: "ReactiveUI.Validation"
20+
installWorkloads: true
21+
secrets:
22+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)