Skip to content

Commit

Permalink
Merge pull request #17 from denis-tingaikin/fix-automerge
Browse files Browse the repository at this point in the history
fix: automerge job should allow only go files
  • Loading branch information
edwarnicke authored Feb 2, 2021
2 parents f28198c + 54d0baa commit 6cf3705
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ jobs:
run: |
git remote -v
git fetch --depth=1 origin main
- name: Only allow go.mod and go.sum changes
- name: Only allow go.mod, go.sum, *.gen.go files
run: |
find . -type f ! -name 'go.mod' ! -name 'go.sum' ! -name '*.yaml' ! -name '*.yml' -exec git diff --exit-code origin/main -- {} +
find . -type f ! -name 'suite.go' ! -name '*.gen.go' ! -name 'go.sum' ! -name 'go.mod' -exec git diff --exit-code origin/main -- {} +
- name: Automerge nsmbot PR
uses: ridedott/merge-me-action@master
with:
Expand Down

0 comments on commit 6cf3705

Please sign in to comment.