From 501b98dbd38ee7c180573fb5f438dd8bf16b5c69 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Sun, 29 May 2022 17:33:35 +0000 Subject: [PATCH] chore(ci): skip workflow for required verify job --- .github/workflows/ci-skip.yml | 37 +++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/ci-skip.yml diff --git a/.github/workflows/ci-skip.yml b/.github/workflows/ci-skip.yml new file mode 100644 index 00000000..048b62a9 --- /dev/null +++ b/.github/workflows/ci-skip.yml @@ -0,0 +1,37 @@ +name: No trigger file paths +on: + push: + branches: + - master + paths-ignore: + - .github/workflows/ci.yml + - cmd/** + - internal/** + - pkg/** + - .dockerignore + - .golangci.yml + - Dockerfile + - go.mod + - go.sum + pull_request: + branches: + - master + paths-ignore: + - .github/workflows/ci.yml + - cmd/** + - internal/** + - pkg/** + - .dockerignore + - .golangci.yml + - Dockerfile + - go.mod + - go.sum + +jobs: + verify: + runs-on: ubuntu-latest + permissions: + actions: read + steps: + - name: No trigger path triggered for required verify workflow. + run: exit 0