Skip to content

Commit 24b0b5f

Browse files
authored
build: Update the release workflow to use OIDC. (#120)
Also make other smaller updates to modernize the release file.
1 parent 5561b4c commit 24b0b5f

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ on:
44
push:
55
branches:
66
- master
7+
8+
permissions:
9+
id-token: write # Required for OIDC
10+
contents: write # For Semantic Release tagging
11+
712
jobs:
813
release:
914
name: Release
@@ -31,7 +36,6 @@ jobs:
3136
token: ${{ secrets.CODECOV_TOKEN }}
3237
fail_ci_if_error: false
3338
- name: Release
39+
run: npx semantic-release@25
3440
env:
3541
GITHUB_TOKEN: ${{ secrets.OPENEDX_SEMANTIC_RELEASE_GITHUB_TOKEN }}
36-
NPM_TOKEN: ${{ secrets.OPENEDX_SEMANTIC_RELEASE_NPM_TOKEN }}
37-
run: npx semantic-release@22

0 commit comments

Comments
 (0)