From 59e195b890c166b302bf3906197a4a1ff5054873 Mon Sep 17 00:00:00 2001 From: ws-wolfbot Date: Thu, 22 Feb 2024 10:59:17 -0500 Subject: [PATCH] ci: export github actions workflow usage for runs created on 2023-01-21 --- .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..8278b00 --- /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@export-workflow-usage + secrets: inherit + with: + date: '2023-01-21' + s3_bucket: 'dse-hypercube' + s3_key_prefix: 'development/github_actions_runtime_data/2023-01-21' + overwrite_existing_data: false diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml deleted file mode 100644 index bf45be0..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-22.04 - steps: - - uses: actions/stale@v8 - 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'