From 58a08979a209b689a52e3857b4963eed609cc082 Mon Sep 17 00:00:00 2001 From: Hamza Remmal Date: Fri, 14 Jun 2024 11:22:03 +0100 Subject: [PATCH] Revert "Change the trigger to check the CLA (#20567)" This reverts commit e4a5d9c30317de5cd82bca4012130672c086f8e8. --- .github/workflows/cla.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index 539bbacee9a7..f370cb2b541c 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -1,9 +1,15 @@ -name: Check Scala CLA +name: Scala CLA on: pull_request: - types: opened branches-ignore: - 'language-reference-stable' + push: + branches: + - 'language-reference-stable' + merge_group: +permissions: + contents: write + pull-requests: write jobs: check: @@ -11,5 +17,6 @@ jobs: steps: - uses: actions/checkout@v4 - run: ./project/scripts/check-cla.sh + if: github.event_name == 'pull_request' env: AUTHOR: ${{ github.event.pull_request.user.login }}