From 1c6f90d3987c23956bee77ae80de4407f70ca1fd Mon Sep 17 00:00:00 2001 From: Hannes Wellmann Date: Wed, 25 Sep 2024 19:37:40 +0200 Subject: [PATCH 1/2] [Build] Activate workflow for automated version increments Set up for this repository the workflow for automated version increments in pull-requests added via https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/pull/2352 --- .github/workflows/pr-checks.yml | 17 +++++++++++++++++ .github/workflows/version-increments.yml | 14 ++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 .github/workflows/pr-checks.yml create mode 100644 .github/workflows/version-increments.yml diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml new file mode 100644 index 0000000000..74592a34e1 --- /dev/null +++ b/.github/workflows/pr-checks.yml @@ -0,0 +1,17 @@ +# Fast running checks for pull-requests + +name: Pull-Request Checks +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +on: + pull_request: + branches: [ master ] + +jobs: + check-versions: + uses: eclipse-platform/eclipse.platform.releng.aggregator/.github/workflows/checkVersions.yml@master + with: + botName: Eclipse Platform Bot + botMail: platform-bot@eclipse.org diff --git a/.github/workflows/version-increments.yml b/.github/workflows/version-increments.yml new file mode 100644 index 0000000000..7f0450b41a --- /dev/null +++ b/.github/workflows/version-increments.yml @@ -0,0 +1,14 @@ +name: Publish Version Check Results + +on: + workflow_run: + workflows: [ 'Pull-Request Checks' ] + types: [ completed ] + +jobs: + publish-version-check-results: + uses: eclipse-platform/eclipse.platform.releng.aggregator/.github/workflows/publishVersionCheckResults.yml@master + with: + botGithubId: eclipse-platform-bot + secrets: + githubBotPAT: ${{ secrets.PLATFORM_BOT_PAT }} From 45cc181632b82520cc6b8b6439a27c4586bf457d Mon Sep 17 00:00:00 2001 From: Hannes Wellmann Date: Wed, 25 Sep 2024 19:42:38 +0200 Subject: [PATCH 2/2] [Build] Move all fast pull-request checks to checks.yml --- .github/workflows/pr-checks.yml | 4 ++++ .github/workflows/verifyFreezePeriod.yml | 12 ------------ 2 files changed, 4 insertions(+), 12 deletions(-) delete mode 100644 .github/workflows/verifyFreezePeriod.yml diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 74592a34e1..d8dfc50969 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -10,6 +10,10 @@ on: branches: [ master ] jobs: + check-freeze-period: + uses: eclipse-platform/eclipse.platform.releng.aggregator/.github/workflows/verifyFreezePeriod.yml@master + check-merge-commits: + uses: eclipse-platform/eclipse.platform.releng.aggregator/.github/workflows/checkMergeCommits.yml@master check-versions: uses: eclipse-platform/eclipse.platform.releng.aggregator/.github/workflows/checkVersions.yml@master with: diff --git a/.github/workflows/verifyFreezePeriod.yml b/.github/workflows/verifyFreezePeriod.yml deleted file mode 100644 index fed6cc53c5..0000000000 --- a/.github/workflows/verifyFreezePeriod.yml +++ /dev/null @@ -1,12 +0,0 @@ -# This workflow calls the Code-Freeze-Period check - -name: Check Code Freeze Period - -on: - pull_request: - branches: - - 'master' - -jobs: - check-freeze-period: - uses: eclipse-platform/eclipse.platform.releng.aggregator/.github/workflows/verifyFreezePeriod.yml@master