Skip to content

Commit d21330c

Browse files
committed
await mege
1 parent cadc804 commit d21330c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release-staging.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,13 @@ jobs:
2020
with:
2121
github-token: ${{ secrets.GITHUB_TOKEN }}
2222
script: |
23-
github.rest.repos.merge({
23+
const mergeResult = await github.rest.repos.merge({
2424
owner: context.repo.owner,
2525
repo: context.repo.repo,
2626
base: 'release',
2727
head: 'master'
2828
})
29+
console.log(mergeResult)
2930
- name: Checkout release branch (with history)
3031
uses: actions/checkout@master
3132
with:

0 commit comments

Comments
 (0)