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 27d4504 commit 89b1642Copy full SHA for 89b1642
.github/workflows/auto-merge.yml
@@ -12,6 +12,7 @@ jobs:
12
id: check
13
uses: actions/github-script@v6
14
with:
15
+ github-token: ${{ secrets.GITHUB_TOKEN }}
16
script: |
17
const prNumber = context.payload.pull_request.number;
18
const { data: pr } = await github.rest.pulls.get({
@@ -42,6 +43,7 @@ jobs:
42
43
if: steps.check.outputs.shouldMerge == 'true'
44
45
46
47
48
49
const mergeResponse = await github.rest.pulls.merge({
@@ -51,5 +53,3 @@ jobs:
51
53
merge_method: "squash"
52
54
});
55
core.info(`Merge response: ${JSON.stringify(mergeResponse.data)}`);
- env:
- GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
0 commit comments