diff --git a/.github/workflows/detect-breaking-change.yml b/.github/workflows/detect-breaking-change.yml index 4472920ba6d54..b14b989469ce5 100644 --- a/.github/workflows/detect-breaking-change.yml +++ b/.github/workflows/detect-breaking-change.yml @@ -1,10 +1,23 @@ name: "Detect Breaking Changes" -on: [push, pull_request] +on: + push: + pull_request: + schedule: + - cron: '0 * * * *' + jobs: detect-breaking-change: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - run: git remote add upstream https://github.com/opensearch-project/OpenSearch.git + - run: git fetch upstream + - run: | + git config --global user.email "you@example.com" + git config --global user.name "Your Name" + git merge upstream/main -m "Merged from upstream" - uses: actions/setup-java@v2 with: distribution: temurin # Temurin is a distribution of adoptium diff --git a/CHANGELOG.md b/CHANGELOG.md index 79e06b9e09843..a37976462b38e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -81,7 +81,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Start replication checkpointTimers on primary before segments upload to remote store. ([#8221]()https://github.com/opensearch-project/OpenSearch/pull/8221) - [distribution/archives] [Linux] [x64] Provide the variant of the distributions bundled with JRE ([#8195]()https://github.com/opensearch-project/OpenSearch/pull/8195) - Add configuration for file cache size to max remote data ratio to prevent oversubscription of file cache ([#8606](https://github.com/opensearch-project/OpenSearch/pull/8606)) -- Detect breaking changes on pull requests ([#9044](https://github.com/opensearch-project/OpenSearch/pull/9044)) ### Dependencies - Bump `org.apache.logging.log4j:log4j-core` from 2.17.1 to 2.20.0 ([#8307](https://github.com/opensearch-project/OpenSearch/pull/8307))