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 8717f029537..8424cc594bb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -31,19 +31,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' - } - } - } } }