diff --git a/.github/workflows/generate-aws-ec2-pricing-json.yaml b/.github/workflows/generate-aws-ec2-pricing-json.yaml index 7bdfb0928c..8ffe07dba1 100644 --- a/.github/workflows/generate-aws-ec2-pricing-json.yaml +++ b/.github/workflows/generate-aws-ec2-pricing-json.yaml @@ -11,8 +11,8 @@ on: # │ │ │ │ │ # │ │ │ │ │ # * * * * * - # At 00:00 UTC on Sundays - - cron: "0 0 * * 0" + # At 02:00 UTC on Sundays + - cron: "0 2 * * 0" # Workflow dispatch trigger allows manually running workflow workflow_dispatch: {} diff --git a/.github/workflows/generate-aws-rds-pricing-json.yaml b/.github/workflows/generate-aws-rds-pricing-json.yaml index b8d9dd031f..f040d4497d 100644 --- a/.github/workflows/generate-aws-rds-pricing-json.yaml +++ b/.github/workflows/generate-aws-rds-pricing-json.yaml @@ -10,8 +10,8 @@ on: # │ │ │ │ │ # │ │ │ │ │ # * * * * * - # At 00:00 UTC on Sundays - - cron: "0 0 * * 0" + # At 03:00 UTC on Sundays + - cron: "0 3 * * 0" # Workflow dispatch trigger allows manually running workflow workflow_dispatch: {} diff --git a/.github/workflows/generate-azure-md-pricing-json.yaml b/.github/workflows/generate-azure-md-pricing-json.yaml index cc0e7076b0..ee2acdf1fb 100644 --- a/.github/workflows/generate-azure-md-pricing-json.yaml +++ b/.github/workflows/generate-azure-md-pricing-json.yaml @@ -11,8 +11,8 @@ on: # │ │ │ │ │ # │ │ │ │ │ # * * * * * - # At 00:00 UTC on Sundays - - cron: "0 0 * * 0" + # At 04:00 UTC on Sundays + - cron: "0 4 * * 0" # Workflow dispatch trigger allows manually running workflow workflow_dispatch: {} diff --git a/.github/workflows/generate-azure-vm-pricing-json.yaml b/.github/workflows/generate-azure-vm-pricing-json.yaml index 9df45091f3..6083abac51 100644 --- a/.github/workflows/generate-azure-vm-pricing-json.yaml +++ b/.github/workflows/generate-azure-vm-pricing-json.yaml @@ -11,8 +11,8 @@ on: # │ │ │ │ │ # │ │ │ │ │ # * * * * * - # At 00:00 UTC on Sundays - - cron: "0 0 * * 0" + # At 05:00 UTC on Sundays + - cron: "0 5 * * 0" # Workflow dispatch trigger allows manually running workflow workflow_dispatch: {} diff --git a/.github/workflows/update-change-history.yaml b/.github/workflows/update-change-history.yaml index 5f7daed947..ac84c45a13 100644 --- a/.github/workflows/update-change-history.yaml +++ b/.github/workflows/update-change-history.yaml @@ -1,15 +1,21 @@ name: Update Change History on: - # Trigger this workflow on pushes to master - push: - branches: - - master + schedule: + # ┌───────────── minute (0 - 59) + # │ ┌───────────── hour (0 - 23) + # │ │ ┌───────────── day of the month (1 - 31) + # │ │ │ ┌───────────── month (1 - 12 or JAN-DEC) + # │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT) + # │ │ │ │ │ + # │ │ │ │ │ + # │ │ │ │ │ + # * * * * * + # At 01:00 UTC on Sundays + - cron: "0 1 * * 0" # Workflow dispatch trigger allows manually running workflow - workflow_dispatch: - branches: - - master + workflow_dispatch: {} jobs: change-history: diff --git a/tools/change_history/generate_change_history.rb b/tools/change_history/generate_change_history.rb index f17b0578d9..613d3f86d3 100644 --- a/tools/change_history/generate_change_history.rb +++ b/tools/change_history/generate_change_history.rb @@ -21,7 +21,7 @@ # Also sort the list by date with the most recent PRs coming first merged_pull_requests = github_client.pull_requests(repo_name, state: 'closed').select do |pr| # Omit PRs triggered by this script to avoid an infinite loop - pr.merged_at && pr.base.ref == 'master' && pr.title.strip != "Update Change History" + pr.merged_at && pr.base.ref == 'master' end.sort_by(&:merged_at).reverse # Convert the API results into a simple object