Scroll forward immediately on approve/pay/submit instead of after button animation #1782533
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CLA Assistant | |
| on: | |
| issue_comment: | |
| types: [created] | |
| pull_request_target: | |
| types: [opened, synchronize] | |
| branches: [main] | |
| jobs: | |
| validate: | |
| if: ${{ github.event_name == 'pull_request_target' }} | |
| runs-on: blacksmith-2vcpu-ubuntu-2404 | |
| outputs: | |
| IS_AUTHORIZED: ${{ steps.gate.outputs.IS_AUTHORIZED }} | |
| steps: | |
| - name: Checkout | |
| uses: useblacksmith/checkout@1c9394c220d293645707b625ba9d79685f093a8f # v1 | |
| - name: Check contributor authorization | |
| id: gate | |
| uses: ./.github/actions/javascript/isAuthorizedContributor | |
| with: | |
| PR_NUMBER: ${{ github.event.pull_request.number }} | |
| ACTOR: ${{ github.event.pull_request.user.login }} | |
| ACTOR_ASSOCIATION: ${{ github.event.pull_request.author_association }} | |
| GITHUB_TOKEN: ${{ github.token }} | |
| OS_BOTIFY_TOKEN: ${{ secrets.OS_BOTIFY_TOKEN }} | |
| CLA: | |
| needs: [validate] | |
| if: | | |
| always() | |
| && (github.event_name == 'issue_comment' || needs.validate.outputs.IS_AUTHORIZED == 'true') | |
| uses: Expensify/GitHub-Actions/.github/workflows/cla.yml@main | |
| secrets: inherit |