From 5553ebdf77a28f366c795c0af4730e014a14920d Mon Sep 17 00:00:00 2001 From: Karl Rister Date: Thu, 1 Aug 2024 07:54:12 -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-workshop-ci.yaml | 1 + .github/workflows/run-crucible-tracking.yaml | 16 ++++++++++++++++ .github/workflows/workshop-ci.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 bf9f876..6e500e3 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-crucible-ci.yaml - .github/workflows/faux-workshop-ci.yaml diff --git a/.github/workflows/crucible-merged.yaml b/.github/workflows/crucible-merged.yaml index a10eb58..8a3df67 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-crucible-ci.yaml - .github/workflows/faux-workshop-ci.yaml - 'docs/**' diff --git a/.github/workflows/faux-crucible-ci.yaml b/.github/workflows/faux-crucible-ci.yaml index e086d29..d49f6b9 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-crucible-ci.yaml - .github/workflows/faux-workshop-ci.yaml diff --git a/.github/workflows/faux-workshop-ci.yaml b/.github/workflows/faux-workshop-ci.yaml index 52730f9..7d22f25 100644 --- a/.github/workflows/faux-workshop-ci.yaml +++ b/.github/workflows/faux-workshop-ci.yaml @@ -6,6 +6,7 @@ on: paths: - LICENSE - '**.md' + - .github/workflows/run-crucible-tracking.yaml - .github/workflows/faux-crucible-ci.yaml - .github/workflows/faux-workshop-ci.yaml - 'docs/**' diff --git a/.github/workflows/run-crucible-tracking.yaml b/.github/workflows/run-crucible-tracking.yaml new file mode 100644 index 0000000..f3e82c0 --- /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/workshop-ci.yaml b/.github/workflows/workshop-ci.yaml index ebe968d..9d8e231 100644 --- a/.github/workflows/workshop-ci.yaml +++ b/.github/workflows/workshop-ci.yaml @@ -7,6 +7,7 @@ on: paths-ignore: - LICENSE - '**.md' + - .github/workflows/run-crucible-tracking.yaml - .github/workflows/faux-crucible-ci.yaml - .github/workflows/faux-workshop-ci.yaml - 'docs/**' From 63dbb053fcd9ce68ecea48544b2c972d9257b904 Mon Sep 17 00:00:00 2001 From: Karl Rister Date: Thu, 1 Aug 2024 07:56:20 -0500 Subject: [PATCH 2/2] use self-hosted workflow-overhead runner for faux-workshop-ci --- .github/workflows/faux-workshop-ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/faux-workshop-ci.yaml b/.github/workflows/faux-workshop-ci.yaml index 7d22f25..5df9245 100644 --- a/.github/workflows/faux-workshop-ci.yaml +++ b/.github/workflows/faux-workshop-ci.yaml @@ -13,6 +13,6 @@ on: jobs: workshop-ci: - runs-on: ubuntu-latest + runs-on: [ self-hosted, workflow-overhead ] steps: - run: 'echo "No build required" '