From 761c84f762470f288642752a110ee02a347032e6 Mon Sep 17 00:00:00 2001 From: Artem Glazychev Date: Fri, 23 Jun 2023 15:52:52 +0700 Subject: [PATCH] Add Dockerfile to automerge check Signed-off-by: Artem Glazychev --- .github/workflows/automerge.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/automerge.yaml b/.github/workflows/automerge.yaml index e0476a5..9f2dc78 100644 --- a/.github/workflows/automerge.yaml +++ b/.github/workflows/automerge.yaml @@ -15,9 +15,9 @@ jobs: run: | git remote -v git fetch --depth=1 origin main - - name: Only allow go.mod, go.sum, *.gen.go files + - name: Check allowed files run: | - find . -type f ! -name 'go.mod' ! -name 'go.sum' ! -name '*.yaml' ! -name '*.yml' ! -name '*.txt' ! -name '*.md' ! -name '*.conf' -exec git diff --exit-code origin/main -- {} + + find . -type f ! -name 'go.mod' ! -name 'go.sum' ! -name '*.yaml' ! -name '*.yml' ! -name '*.txt' ! -name '*.md' ! -name '*.conf' ! -name 'Dockerfile' -exec git diff --exit-code origin/main -- {} + - name: Merge PR uses: ridedott/merge-me-action@master with: