Skip to content
This repository was archived by the owner on Mar 19, 2025. It is now read-only.

Commit f680cf1

Browse files
authored
Merge pull request #92 from userfront/fix-publish-github-action
Have user merge the stable release PR
2 parents 99113ae + b2d5134 commit f680cf1

4 files changed

Lines changed: 77 additions & 25 deletions

File tree

.github/workflows/on-pr-approved.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ jobs:
4141
- uses: actions/github-script@v6
4242
with:
4343
script: |
44-
github.rest.pulls.merge({
44+
github.rest.issues.createComment({
45+
issue_number: context.issue.number,
4546
owner: context.repo.owner,
4647
repo: context.repo.repo,
47-
pull_number: ${{ github.event.pull_request.number }},
48-
merge_method: 'merge'
48+
body: 'Merge this PR to publich version ${{ steps.version.outputs.VERSION }} to npm as the latest stable version.'
4949
})

package-lock.json

Lines changed: 71 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@userfront/toolkit",
3-
"version": "1.0.4",
3+
"version": "1.0.5-alpha.0",
44
"description": "Bindings and components for authentication with Userfront with React, Vue, other frameworks, and plain JS + HTML",
55
"type": "module",
66
"directories": {

0 commit comments

Comments
 (0)