Skip to content

Commit

Permalink
ci(automerge): squash automerge prs (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs authored Apr 4, 2022
1 parent 3abc92a commit 7afcfb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
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 7afcfb8

Please sign in to comment.