Skip to content

Commit 7df712c

Browse files
committed
Fix merge step
1 parent a7fde5b commit 7df712c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release-staging.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ jobs:
66
deploy:
77
name: Staging Release
88
runs-on: ubuntu-latest
9+
# Allow GITHUB_TOKEN to have write permissions
10+
permissions:
11+
contents: write
912

1013
steps:
1114
- name: Set up Node (14)
@@ -17,7 +20,7 @@ jobs:
1720
with:
1821
github-token: ${{ secrets.GITHUB_TOKEN }}
1922
script: |
20-
github.repos.merge({
23+
github.rest.repos.merge({
2124
owner: context.repo.owner,
2225
repo: context.repo.repo,
2326
base: 'release',

0 commit comments

Comments
 (0)