We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af7a182 commit 36dbcc3Copy full SHA for 36dbcc3
.github/workflows/release-staging.yml
@@ -1,15 +1,14 @@
1
name: Staging Release
2
3
-on:
4
- push:
5
- branches:
6
- - master
7
- workflow_dispatch:
+on: workflow_dispatch
8
9
jobs:
10
deploy:
11
12
runs-on: ubuntu-latest
+ # Allow GITHUB_TOKEN to have write permissions
+ permissions:
+ contents: write
13
14
steps:
15
- name: Set up Node (14)
@@ -21,7 +20,7 @@ jobs:
21
20
with:
22
github-token: ${{ secrets.GITHUB_TOKEN }}
23
script: |
24
- github.repos.merge({
+ github.rest.repos.merge({
25
owner: context.repo.owner,
26
repo: context.repo.repo,
27
base: 'release',
0 commit comments