From 94d682987b1b5abd46cd2f59c29d4830c28c7c77 Mon Sep 17 00:00:00 2001 From: Rob Brackett Date: Sat, 25 Jan 2025 13:06:12 -0800 Subject: [PATCH] Hard disable workflows that won't work for now In this EDGI fork, we don't have all the same deployment targets, variables, secrets, etc., so a lot of these workflows will not really work. We might ultimately remove them or we might refactor them to work differently. --- .github/workflows/deploy_backend_main.yml | 4 ++- .github/workflows/deploy_frontend_main.yml | 4 ++- .github/workflows/ping-check.yml | 29 ++++++++++++---------- 3 files changed, 22 insertions(+), 15 deletions(-) diff --git a/.github/workflows/deploy_backend_main.yml b/.github/workflows/deploy_backend_main.yml index f42d484f..61c39cdb 100644 --- a/.github/workflows/deploy_backend_main.yml +++ b/.github/workflows/deploy_backend_main.yml @@ -1,7 +1,9 @@ name: Deploy Backend Main on: push: - branches: [main] + # EDGI: DISABLE THIS WORKFLOW FOR NOW. It comes from the original DOI + # implementation, and we don't have the same deployment setup. + branches: [not-a-real-branch] paths: - "data/**" - ".github/workflows/deploy_backend_main.yml" diff --git a/.github/workflows/deploy_frontend_main.yml b/.github/workflows/deploy_frontend_main.yml index 53c1399b..4b506375 100644 --- a/.github/workflows/deploy_frontend_main.yml +++ b/.github/workflows/deploy_frontend_main.yml @@ -1,7 +1,9 @@ name: Deploy Frontend Main on: push: - branches: [main] + # EDGI: DISABLE THIS WORKFLOW FOR NOW. It comes from the original DOI + # implementation, and we don't have the same deployment setup. + branches: [not-a-real-branch] paths: - "client/**/*" concurrency: diff --git a/.github/workflows/ping-check.yml b/.github/workflows/ping-check.yml index 7d197a7d..081fef94 100644 --- a/.github/workflows/ping-check.yml +++ b/.github/workflows/ping-check.yml @@ -1,18 +1,21 @@ name: Ping Check on: - # https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions - schedule: - # Run every five minutes - - cron: '*/5 * * * *' - # https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/ - workflow_dispatch: - inputs: - logLevel: - description: 'Log level' - required: true - default: 'warning' - tags: - description: 'Ping Check' + # FIXME: EDGI: DISABLE THIS WORKFLOW FOR NOW. We may not want to keep it. + push: + branches: [not-a-real-branch] + # # https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions + # schedule: + # # Run every five minutes + # - cron: '*/5 * * * *' + # # https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/ + # workflow_dispatch: + # inputs: + # logLevel: + # description: 'Log level' + # required: true + # default: 'warning' + # tags: + # description: 'Ping Check' jobs: check_site_uptime: runs-on: ubuntu-latest