From 3e792c22eb2f127ebc924c708a60ec30547bd8d2 Mon Sep 17 00:00:00 2001 From: Hannes Wellmann Date: Sun, 15 Sep 2024 17:35:09 +0200 Subject: [PATCH 1/2] [Build] Activate workflow for automated version increments --- .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 00000000000..686f08589d3 --- /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 PDE Bot + botMail: eclipse-pde-bot@eclipse.org diff --git a/.github/workflows/version-increments.yml b/.github/workflows/version-increments.yml new file mode 100644 index 00000000000..1052fe62e62 --- /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-pde-bot + secrets: + githubBotPAT: ${{ secrets.PDE_BOT_PAT }} From 435f34ac3f89574b763412d70c9d0b500e0a9631 Mon Sep 17 00:00:00 2001 From: Hannes Wellmann Date: Sun, 15 Sep 2024 20:23:37 +0200 Subject: [PATCH 2/2] [Build] Move all fast pull-request checks to checks.yml --- .github/workflows/ci.yml | 6 ------ .github/workflows/pr-checks.yml | 4 ++++ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 797fdc4fca6..cc9e34ab236 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,12 +10,6 @@ on: branches: [ master ] jobs: - check-freeze-period: - if: github.event_name == 'pull_request' - uses: eclipse-platform/eclipse.platform.releng.aggregator/.github/workflows/verifyFreezePeriod.yml@master - check-merge-commits: - if: github.event_name == 'pull_request' - uses: eclipse-platform/eclipse.platform.releng.aggregator/.github/workflows/checkMergeCommits.yml@master check-dash-licenses: uses: eclipse-dash/dash-licenses/.github/workflows/mavenLicenseCheck.yml@master with: diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 686f08589d3..2e2d4e4903d 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: