From 7fa5211a9ca2a676b6569b8eb87e1d78e2075a7b Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Sat, 30 Nov 2024 11:10:14 +0100 Subject: [PATCH] Don't run tests if workflows didn't change --- .github/workflows/workflow_test.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/workflow_test.yml b/.github/workflows/workflow_test.yml index 15be87ff1..058498d07 100644 --- a/.github/workflows/workflow_test.yml +++ b/.github/workflows/workflow_test.yml @@ -1,7 +1,17 @@ # workflow level env vars cannot be used at the job level # https://github.community/t/how-to-set-and-access-a-workflow-variable/17335/15 name: Galaxy Workflow Tests for push and PR -on: [push, pull_request] +on: + push: + paths-ignore: + - '**/*.md' + - 'scripts/**' + - 'website/**' + pull_request: + paths-ignore: + - '**/*.md' + - 'scripts/**' + - 'website/**' env: GITHUB_USER: iwc-workflows-bot jobs: