Skip to content

Commit

Permalink
[hotfix] Miscellaneous fixes on GHA workflows
Browse files Browse the repository at this point in the history
* Changes PR stale cycle to 120d / 60d
* Update outdated Labeler
* Run nightly CI on a more "random" time instead of 00:00 UTC

Signed-off-by: yuxiqian <[email protected]>
  • Loading branch information
yuxiqian committed Jan 7, 2025
1 parent baba9c6 commit 2520f5e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
7 changes: 6 additions & 1 deletion .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,13 @@ e2e-tests:
- flink-cdc-e2e-tests/**/*
migration-tests:
- flink-cdc-migration-tests/**/*
add-ons:
- flink-cdc-pipeline-model/**/*
- flink-cdc-pipeline-udf-examples/**/*
base:
- flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/**/*
debezium:
- flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-debezium/**/*
- flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/**/*
connector-test-util:
- flink-cdc-connect/flink-cdc-source-connectors/flink-connector-test-util/**/*
db2-cdc-connector:
Expand Down Expand Up @@ -86,3 +89,5 @@ starrocks-pipeline-connector:
- flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-starrocks/**/*
elasticsearch-pipeline-connector:
- flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-elasticsearch/**/*
oceanbase-pipeline-connector:
- flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-oceanbase/**/*
6 changes: 3 additions & 3 deletions .github/workflows/close_stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ jobs:
close-issue-message: >
This issue has been closed because Flink CDC doesn't use GitHub issue trackers.
# Stale PRs
days-before-pr-stale: 60
days-before-pr-close: 30
days-before-pr-stale: 120
days-before-pr-close: 60
stale-pr-message: >
This pull request has been automatically marked as stale because it has not had recent
activity for 60 days. It will be closed in 30 days if no further activity occurs.
activity for 120 days. It will be closed in 60 days if no further activity occurs.
close-pr-message: >
This pull request has been closed because it has not had recent activity. You could reopen it
if you try to continue your work, and anyone who are interested in it are encouraged to continue
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flink_cdc_ci_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
name: Flink CDC CI Nightly
on:
schedule:
- cron: '0 0 * * *' # Deploy every day
- cron: '43 0 * * *' # Run daily, but not at 00:00 UTC to avoid job failure due to network throttle
workflow_dispatch:

concurrency:
Expand Down

0 comments on commit 2520f5e

Please sign in to comment.