From 552517795ccf47e4993ceabdc4818f5669d43dc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renaud?= Date: Mon, 18 Mar 2024 14:10:13 +0100 Subject: [PATCH 1/3] remove duplicate checkout --- .github/actions/health-check/action.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/actions/health-check/action.yml b/.github/actions/health-check/action.yml index ee10686df0b..74c6233ca89 100644 --- a/.github/actions/health-check/action.yml +++ b/.github/actions/health-check/action.yml @@ -9,7 +9,6 @@ env: runs: using: "composite" steps: - - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20 From ab7554a444d2d1c92972a0480bc172149e2a2a0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renaud?= Date: Mon, 18 Mar 2024 14:10:37 +0100 Subject: [PATCH 2/3] run on PR --- .github/workflows/pull-request.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 76fbfe50a36..89dd2edcfc8 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -4,6 +4,23 @@ on: pull_request: jobs: + # TO REMOVE / intended for testing + health-check: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Load secrets from 1Password + uses: 1Password/load-secrets-action@v1.3.2 + with: + export-env: true + env: + OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }} + SENTRY_AUTH_TOKEN: op://secrets/sentry-health-monitoring/credential + SENTRY_DSN: op://secrets/sentry-health-monitoring/dsn + - name: Health Check of Unlock Protocol + uses: ./.github/actions/health-check # check which folder changed in the repo check-changes: uses: ./.github/workflows/_check.yml From 8230fbbba52bba1e29bfde966700b309b2214c9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renaud?= Date: Mon, 18 Mar 2024 15:20:32 +0100 Subject: [PATCH 3/3] remove tmp PR --- .github/workflows/pull-request.yml | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 89dd2edcfc8..76fbfe50a36 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -4,23 +4,6 @@ on: pull_request: jobs: - # TO REMOVE / intended for testing - health-check: - runs-on: ubuntu-22.04 - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Load secrets from 1Password - uses: 1Password/load-secrets-action@v1.3.2 - with: - export-env: true - env: - OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }} - SENTRY_AUTH_TOKEN: op://secrets/sentry-health-monitoring/credential - SENTRY_DSN: op://secrets/sentry-health-monitoring/dsn - - name: Health Check of Unlock Protocol - uses: ./.github/actions/health-check # check which folder changed in the repo check-changes: uses: ./.github/workflows/_check.yml