mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-17 16:50:22 +00:00
fixup! fixup! fixup! Update permissions for release.yml
This commit is contained in:
parent
89fbbc7224
commit
8c1551322a
1 changed files with 1 additions and 8 deletions
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue