diff --git a/.github/workflows/checkMergeCommits.yml b/.github/workflows/checkMergeCommits.yml deleted file mode 100644 index 371c075d8d..0000000000 --- a/.github/workflows/checkMergeCommits.yml +++ /dev/null @@ -1,18 +0,0 @@ -on: pull_request - -name: Check for merge commits - -permissions: - pull-requests: read - -jobs: - message-check: - name: Block Merge Commits - - runs-on: ubuntu-latest - - steps: - - name: Block Merge Commits - uses: Morishiri/block-merge-commits-action@a4554c78def8d874966a8d1e20e2971121443755 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml new file mode 100644 index 0000000000..bff7573f5a --- /dev/null +++ b/.github/workflows/pr-checks.yml @@ -0,0 +1,22 @@ +# Fast running checks for pull-requests + +name: Pull-Request Checks +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +on: + pull_request + +jobs: + check-freeze-period: + if: github.base_ref == 'master' + 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: + if: github.base_ref == 'master' + uses: eclipse-platform/eclipse.platform.releng.aggregator/.github/workflows/checkVersions.yml@master + with: + botName: Eclipse JDT Bot + botMail: jdt-bot@eclipse.org 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 diff --git a/.github/workflows/version-increments.yml b/.github/workflows/version-increments.yml new file mode 100644 index 0000000000..73f7a18fea --- /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-jdt-bot + secrets: + githubBotPAT: ${{ secrets.JDT_BOT_PAT }}