Skip to content

Commit

Permalink
Fix update versions action
Browse files Browse the repository at this point in the history
  • Loading branch information
dpiatek committed Nov 30, 2023
1 parent 5cfced0 commit d17e510
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/update-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
workflows: ["Release packages"]
types:
- completed
pull_request:

jobs:
update_preview:
Expand All @@ -27,10 +28,10 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 16.17.0
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: npm install -g yarn
- name: Update preview app
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
git config --global user.email "[email protected]"
git config --global user.name "Github Action"
Expand All @@ -40,3 +41,6 @@ jobs:
uses: peter-evans/create-pull-request@v4
with:
branch: update-versions-to-${{ steps.latesttag.outputs.tag }}
title: Update @ably/ui version in repo to ${{ steps.latesttag.outputs.tag }}
body: "Update files that are not updated during the release process.
Sometimes published packages are not available immediately so we open this PR for convenience."

0 comments on commit d17e510

Please sign in to comment.