Skip to content

Commit

Permalink
Remove o Kodiak e adiciona a configuração de merge no workflow do Git…
Browse files Browse the repository at this point in the history
…Hub (#91)

issue [Configurar automerge dos PRs sem utilizar kodiak](monde-sistemas/melhorias#349)
  • Loading branch information
adriely-dourado authored Nov 29, 2024
1 parent 348b919 commit b4accc1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,19 @@ jobs:
- name: Run tests
run: |
bin/rspec
merge:
if: ${{ contains(github.event.pull_request.labels.*.name, 'automerge') }}
runs-on: ubuntu-latest
needs: qa
permissions:
contents: write
pull-requests: write
steps:
- name: Merge pull request
uses: pascalgn/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MERGE_LABELS: "automerge"
MERGE_METHOD: "squash"
MERGE_COMMIT_MESSAGE: "pull-request-title-and-description"
MERGE_DELETE_BRANCH: "true"
14 changes: 0 additions & 14 deletions .kodiak.toml

This file was deleted.

0 comments on commit b4accc1

Please sign in to comment.