From bcaa7e1ae72e30f3ca44d8ceb8953e8da11fe1c6 Mon Sep 17 00:00:00 2001 From: Karl Rister Date: Tue, 23 Jul 2024 07:15:32 -0500 Subject: [PATCH 1/2] add run-crucible-tracking.yaml --- .github/workflows/crucible-ci.yaml | 1 + .github/workflows/crucible-merged.yaml | 1 + .github/workflows/faux-crucible-ci.yaml | 1 + .github/workflows/faux-unittest.yaml | 1 + .github/workflows/run-crucible-tracking.yaml | 16 ++++++++++++++++ .github/workflows/unittest.yaml | 1 + 6 files changed, 21 insertions(+) create mode 100644 .github/workflows/run-crucible-tracking.yaml diff --git a/.github/workflows/crucible-ci.yaml b/.github/workflows/crucible-ci.yaml index dbacd631..23f9e2ad 100644 --- a/.github/workflows/crucible-ci.yaml +++ b/.github/workflows/crucible-ci.yaml @@ -6,6 +6,7 @@ on: paths-ignore: - LICENSE - '**.md' + - .github/workflows/run-crucible-tracking.yaml - .github/workflows/crucible-merged.yaml - .github/workflows/faux-unittest.yaml - .github/workflows/faux-crucible-ci.yaml diff --git a/.github/workflows/crucible-merged.yaml b/.github/workflows/crucible-merged.yaml index 39581b6f..0aac57aa 100644 --- a/.github/workflows/crucible-merged.yaml +++ b/.github/workflows/crucible-merged.yaml @@ -7,6 +7,7 @@ on: paths-ignore: - LICENSE - '**.md' + - .github/workflows/run-crucible-tracking.yaml - .github/workflows/faux-unittest.yaml - .github/workflows/faux-crucible-ci.yaml - 'docs/**' diff --git a/.github/workflows/faux-crucible-ci.yaml b/.github/workflows/faux-crucible-ci.yaml index b7dab560..9bf096b2 100644 --- a/.github/workflows/faux-crucible-ci.yaml +++ b/.github/workflows/faux-crucible-ci.yaml @@ -6,6 +6,7 @@ on: paths: - LICENSE - '**.md' + - .github/workflows/run-crucible-tracking.yaml - .github/workflows/crucible-merged.yaml - .github/workflows/faux-unittest.yaml - .github/workflows/faux-crucible-ci.yaml diff --git a/.github/workflows/faux-unittest.yaml b/.github/workflows/faux-unittest.yaml index 8d3f6265..8b5b613c 100644 --- a/.github/workflows/faux-unittest.yaml +++ b/.github/workflows/faux-unittest.yaml @@ -6,6 +6,7 @@ on: paths: - LICENSE - '**.md' + - .github/workflows/run-crucible-tracking.yaml - .github/workflows/faux-unittest.yaml - .github/workflows/faux-crucible-ci.yaml - 'docs/**' diff --git a/.github/workflows/run-crucible-tracking.yaml b/.github/workflows/run-crucible-tracking.yaml new file mode 100644 index 00000000..f3e82c01 --- /dev/null +++ b/.github/workflows/run-crucible-tracking.yaml @@ -0,0 +1,16 @@ +name: run-crucible-tracking + +on: + pull_request: + types: [ opened ] + issues: + types: [ opened ] + +jobs: + call-crucible-tracking: + if: github.repository_owner == 'perftool-incubator' + uses: perftool-incubator/crucible-ci/.github/workflows/crucible-tracking.yaml@main + with: + app_id: ${{ vars.APP_ID__PROJECT_CRUCIBLE_TRACKING }} + secrets: + private_key: ${{ secrets.PRIVATE_KEY__PROJECT_CRUCIBLE_TRACKING }} diff --git a/.github/workflows/unittest.yaml b/.github/workflows/unittest.yaml index 829178ad..1b81eca2 100644 --- a/.github/workflows/unittest.yaml +++ b/.github/workflows/unittest.yaml @@ -6,6 +6,7 @@ on: paths-ignore: - LICENSE - '**.md' + - .github/workflows/run-crucible-tracking.yaml - .github/workflows/faux-unittest.yaml - .github/workflows/faux-crucible-ci.yaml - 'docs/**' From afaefb211c05d12c32ba2a26738a2b202690d002 Mon Sep 17 00:00:00 2001 From: Karl Rister Date: Tue, 23 Jul 2024 07:17:21 -0500 Subject: [PATCH 2/2] add crucible-merged.yaml to the include/ignore paths for the unittest workflows --- .github/workflows/faux-unittest.yaml | 1 + .github/workflows/unittest.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/faux-unittest.yaml b/.github/workflows/faux-unittest.yaml index 8b5b613c..325d68a6 100644 --- a/.github/workflows/faux-unittest.yaml +++ b/.github/workflows/faux-unittest.yaml @@ -7,6 +7,7 @@ on: - LICENSE - '**.md' - .github/workflows/run-crucible-tracking.yaml + - .github/workflows/crucible-merged.yaml - .github/workflows/faux-unittest.yaml - .github/workflows/faux-crucible-ci.yaml - 'docs/**' diff --git a/.github/workflows/unittest.yaml b/.github/workflows/unittest.yaml index 1b81eca2..487d9a3c 100644 --- a/.github/workflows/unittest.yaml +++ b/.github/workflows/unittest.yaml @@ -7,6 +7,7 @@ on: - LICENSE - '**.md' - .github/workflows/run-crucible-tracking.yaml + - .github/workflows/crucible-merged.yaml - .github/workflows/faux-unittest.yaml - .github/workflows/faux-crucible-ci.yaml - 'docs/**'