Skip to content

Commit

Permalink
Add permission to build workflow for codecov (#7432)
Browse files Browse the repository at this point in the history
# Description

This is to enable to use GitHub App token in workflow for codecov.

## Type of change

- This pull request is a minor refactor, code cleanup, test improvement,
or other maintenance task and doesn't change the functionality of Radius
(issue link optional).

<!--

Please update the following to link the associated issue. This is
required for some kinds of changes (see above).

-->

Fixes: #issue_number

---------

Signed-off-by: Young Bu Park <[email protected]>
  • Loading branch information
youngbupark authored Apr 3, 2024
1 parent c8fa814 commit c92ce94
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ on:
- features/*
- release/*

permissions:
id-token: write # Required for requesting the JWT
contents: write # Required for creating releases
checks: write # Required for updating check runs
pull-requests: write # Required for updating pull requests
packages: write # Required for uploading the package

concurrency:
# Cancel the previously triggered build for only PR build.
group: build-${{ github.ref }}-${{ github.event.pull_request.number || github.sha }}
Expand Down

0 comments on commit c92ce94

Please sign in to comment.