From 0af5a87cc8b0ae1a8f2a22c532c05bafe92330da Mon Sep 17 00:00:00 2001 From: ws-wolfbot Date: Thu, 22 Feb 2024 13:40:52 -0500 Subject: [PATCH] ci: export github actions workflow usage for runs created on 2023-02-01 --- .github/workflows/export-workflow-usage.yml | 22 +++++++++++++++++++++ .github/workflows/stale.yml | 20 ------------------- 2 files changed, 22 insertions(+), 20 deletions(-) create mode 100644 .github/workflows/export-workflow-usage.yml delete mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/export-workflow-usage.yml b/.github/workflows/export-workflow-usage.yml new file mode 100644 index 0000000..75136e2 --- /dev/null +++ b/.github/workflows/export-workflow-usage.yml @@ -0,0 +1,22 @@ +--- +name: Export Workflow Usage + +# This workflow runs on all pushes to the repo so we can test changes and provide +# fast feedback. +on: + push: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + export_workflow_usage: + name: Export Workflow Usage + uses: wealthsimple/github-workflows/.github/workflows/export_workflow_usage.yml@v1 + secrets: inherit + with: + date: '2023-02-01' + s3_bucket: 'dse-hypercube' + s3_key_prefix: 'development/github_actions_runtime_data/2023-02-01' + overwrite_existing_data: false diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml deleted file mode 100644 index b59b147..0000000 --- a/.github/workflows/stale.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: 'Close stale PRs' -on: - schedule: - - cron: '30 6 1 * *' # 6:30 am UTC: 1:30 am EST on 1st day of the month - -jobs: - stale: - runs-on: ubuntu-latest - steps: - - uses: actions/stale@v4 - with: - days-before-stale: 30 - days-before-close: 30 - stale-pr-message: > - This issue has been automatically marked as stale because it has not had - recent activity. It will be closed if no further activity occurs. - close-pr-message: > - This issue has been automatically closed because it has had no activity - for over 90 days. Please re-open if you feel this was done in error. - exempt-pr-labels: 'dependabot,depfu,dependencies,security'