From 00dd4f5bc2555b5fad967ed84a4d1982701a0f5a Mon Sep 17 00:00:00 2001 From: jordan brooks Date: Tue, 27 Feb 2024 16:12:34 +0000 Subject: [PATCH] rework-triggers --- .github/workflows/build.yaml | 9 +++++++++ .github/workflows/{pipeline.yaml => deploy.yaml} | 4 +--- .github/workflows/run_checks.yaml | 5 ++--- 3 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/build.yaml rename .github/workflows/{pipeline.yaml => deploy.yaml} (95%) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 00000000..d3275a52 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,9 @@ +run-name: Build feature branch + +on: + push + +jobs: + run_checks: + uses: ./.github/workflows/run_checks.yaml + \ No newline at end of file diff --git a/.github/workflows/pipeline.yaml b/.github/workflows/deploy.yaml similarity index 95% rename from .github/workflows/pipeline.yaml rename to .github/workflows/deploy.yaml index 9bc5cfc5..5a595933 100644 --- a/.github/workflows/pipeline.yaml +++ b/.github/workflows/deploy.yaml @@ -2,11 +2,9 @@ run-name: Jackdaw build on: push: - branches-ignore: - - master - - main tags: - '[0-9]+.[0-9]+.[0-9]+' + - 'publish-snapshot*' jobs: run_checks: diff --git a/.github/workflows/run_checks.yaml b/.github/workflows/run_checks.yaml index fb26b745..b7c54f01 100644 --- a/.github/workflows/run_checks.yaml +++ b/.github/workflows/run_checks.yaml @@ -1,11 +1,10 @@ -run-name: Jackdaw build +run-name: Run checks on: workflow_call: - jobs: - Explore-GitHub-Actions: + RunChecks: runs-on: ubuntu-latest container: clojure:latest services: