-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ on: | |
workflows: ["Release packages"] | ||
types: | ||
- completed | ||
pull_request: | ||
|
||
jobs: | ||
update_preview: | ||
|
@@ -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" | ||
|
@@ -40,3 +41,8 @@ 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." | ||
# This is doesn't work due to what seems a permission issue https://github.com/peter-evans/create-pull-request/issues/155 | ||
# team-reviewers: "team-website" |