Skip to content

Commit

Permalink
ci(automerge): squash automerge prs
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Apr 4, 2022
1 parent 4b1cc79 commit 51c5469
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/automerge.yml
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Unzip artifact
run: unzip pr.zip

- name: Comment on PR
- name: Merge PR
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -52,7 +52,7 @@ jobs:
const pull_number = Number(fs.readFileSync('./NR'));
await github.rest.pulls.merge({
merge_method: "merge",
merge_method: "squash",
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: pull_number,
Expand Down

0 comments on commit 51c5469

Please sign in to comment.