Skip to content

Commit b4accc1

Browse files
Remove o Kodiak e adiciona a configuração de merge no workflow do GitHub (#91)
issue [Configurar automerge dos PRs sem utilizar kodiak](monde-sistemas/melhorias#349)
1 parent 348b919 commit b4accc1

File tree

2 files changed

+16
-14
lines changed

2 files changed

+16
-14
lines changed

.github/workflows/ci.yml

+16
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,19 @@ jobs:
2727
- name: Run tests
2828
run: |
2929
bin/rspec
30+
merge:
31+
if: ${{ contains(github.event.pull_request.labels.*.name, 'automerge') }}
32+
runs-on: ubuntu-latest
33+
needs: qa
34+
permissions:
35+
contents: write
36+
pull-requests: write
37+
steps:
38+
- name: Merge pull request
39+
uses: pascalgn/[email protected]
40+
env:
41+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
MERGE_LABELS: "automerge"
43+
MERGE_METHOD: "squash"
44+
MERGE_COMMIT_MESSAGE: "pull-request-title-and-description"
45+
MERGE_DELETE_BRANCH: "true"

.kodiak.toml

-14
This file was deleted.

0 commit comments

Comments
 (0)