From c43e9c6d45d9c8c38e61a1e1b0c725b61d9c4327 Mon Sep 17 00:00:00 2001 From: Hannes Wellmann Date: Sat, 9 Apr 2022 11:07:49 +0200 Subject: [PATCH] [RelEng] Perform code freeze period check in GitHub workflow (#12) --- .github/workflows/verifyFreezePeriod.yml | 12 ++++++++++++ Jenkinsfile | 14 -------------- 2 files changed, 12 insertions(+), 14 deletions(-) create mode 100644 .github/workflows/verifyFreezePeriod.yml diff --git a/.github/workflows/verifyFreezePeriod.yml b/.github/workflows/verifyFreezePeriod.yml new file mode 100644 index 00000000000..fed6cc53c54 --- /dev/null +++ b/.github/workflows/verifyFreezePeriod.yml @@ -0,0 +1,12 @@ +# 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/Jenkinsfile b/Jenkinsfile index 00047380a92..9fe62e1e3ff 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -32,19 +32,5 @@ pipeline { } } } - stage('Check freeze period') { - when { - not { - branch 'master' - } - } - steps { - sh "wget https://download.eclipse.org/eclipse/relengScripts/scripts/verifyFreezePeriod.sh" - sh "chmod +x verifyFreezePeriod.sh" - withCredentials([string(credentialsId: 'google-api-key', variable: 'GOOGLE_API_KEY')]) { - sh './verifyFreezePeriod.sh' - } - } - } } }