From 09604ac85149e23a79c3755778bbbeafe3f5cb23 Mon Sep 17 00:00:00 2001 From: Andrew Gable Date: Fri, 18 Oct 2024 14:49:37 -0600 Subject: [PATCH] Update to use a shared CLA See https://github.com/Expensify/Expensify/issues/432173 --- .github/workflows/cla.yml | 31 ++----------------------------- 1 file changed, 2 insertions(+), 29 deletions(-) diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index 93bdc7fb..9f1c2fd4 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -8,32 +8,5 @@ on: jobs: CLA: - runs-on: ubuntu-latest - # This job only runs for pull request comments or pull request target events (not issue comments) - if: github.event.issue.pull_request || github.event_name == 'pull_request_target' - steps: - - uses: actions-ecosystem/action-regex-match@9c35fe9ac1840239939c59e5db8839422eed8a73 - id: sign - with: - text: ${{ github.event.comment.body }} - regex: '\s*I have read the CLA Document and I hereby sign the CLA\s*' - - uses: actions-ecosystem/action-regex-match@9c35fe9ac1840239939c59e5db8839422eed8a73 - id: recheck - with: - text: ${{ github.event.comment.body }} - regex: '\s*recheck\s*' - - name: CLA Assistant - if: ${{ steps.recheck.outputs.match != '' || steps.sign.outputs.match != '' }} || github.event_name == 'pull_request_target' - # Version: 2.1.2-beta - uses: cla-assistant/github-action@948230deb0d44dd38957592f08c6bd934d96d0cf - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - PERSONAL_ACCESS_TOKEN : ${{ secrets.CLA_BOTIFY_TOKEN }} - with: - path-to-signatures: '${{ github.repository }}/cla.json' - path-to-document: 'https://github.com/${{ github.repository }}/blob/master/CLA.md' - branch: 'main' - remote-organization-name: 'Expensify' - remote-repository-name: 'CLA' - lock-pullrequest-aftermerge: false - allowlist: dependabot,snyk-bot + uses: Expensify/GitHub-Actions/.github/workflows/cla.yml@main + secrets: inherit