From 0964f94ff81d64cbd09116339889f6e32fd5c754 Mon Sep 17 00:00:00 2001 From: "Adolfo R. Brandes" Date: Tue, 27 Jan 2026 10:52:44 -0300 Subject: [PATCH] build: Update the release workflow to use OIDC. Also make other smaller updates to modernize the release file. --- .github/workflows/release.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 194a97d..6f6224e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,13 +4,17 @@ on: tags: - '*' +permissions: + id-token: write # Required for OIDC + contents: write # For Semantic Release tagging + jobs: release: name: Release runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -26,8 +30,6 @@ jobs: run: npm run build - name: Release Package - uses: cycjimmy/semantic-release-action@v2 - with: - semantic_version: 16 + run: npx semantic-release@25 env: - NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }} + GITHUB_TOKEN: ${{ secrets.OPENEDX_SEMANTIC_RELEASE_GITHUB_TOKEN }}