fixup! fixup! fixup! Update permissions for release.yml

This commit is contained in:
Murderlon 2026-02-03 10:11:38 +01:00
parent 89fbbc7224
commit 8c1551322a
No known key found for this signature in database

View file

@ -8,6 +8,7 @@ on:
permissions:
id-token: write # Required for OIDC
contents: write
pull-requests: write
concurrency: ${{ github.workflow }}-${{ github.ref }}
@ -47,10 +48,6 @@ jobs:
- name: "@uppy/angular prepublish"
run: corepack yarn workspace @uppy/angular prepublishOnly
- run: |
echo '' >> .yarnrc.yml
echo 'npmAuthToken: "${NPM_TOKEN}"' >> .yarnrc.yml
- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@v1
@ -62,10 +59,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Remove npmAuthToken from yarnrc
run: |
sed -i '/npmAuthToken:/d' .yarnrc.yml
- name: Check if Companion was released
id: checkIfCompanionWasReleased
if: steps.changesets.outputs.published == 'true'