From 5bb160d2ad14e1cc5c45bbf43942c01c14395864 Mon Sep 17 00:00:00 2001 From: Fernando Ochoa Olivares Date: Thu, 26 Dec 2024 00:44:52 -0600 Subject: [PATCH] Update cla.yml Signed-off-by: Fernando Ochoa Olivares --- .github/workflows/cla.yml | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index b5eac6a..e2ea537 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -1,25 +1,33 @@ name: "CLA Assistant" + on: issue_comment: types: [created] pull_request_target: - types: [opened,closed,synchronize] + types: [opened, closed, synchronize] jobs: CLAssistant: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + steps: + - name: "Checkout repository" + uses: actions/checkout@v3 + - name: "CLA Assistant" - if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target' - # Alpha Release + if: ${{ github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA' || github.event_name == 'pull_request_target' }} uses: cla-assistant/github-action@v2.0.2-alpha env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - PERSONAL_ACCESS_TOKEN : ${{ secrets.CLA_PAT }} + PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_PAT }} with: remote-organization-name: twitter remote-repository-name: .github-private path-to-signatures: 'cla/signatures.json' path-to-document: 'https://gist.github.com/twitter-service/a1ad5818c024dc4265f8b60e6d043f26' - custom-allsigned-prcomment: 'All Contributors have signed the CLA. If the commit check is not passing, a maintainer must go the Checks tab of this PR and rerun the GitHub Action.' - branch: 'main' + custom-allsigned-prcomment: 'All Contributors have signed the CLA. If the commit check is not passing, a maintainer must go to the Checks tab of this PR and rerun the GitHub Action.' + branch: main