openai/codex-action
Publicmirrored from https://github.com/openai/codex-actionAvailable
.github/workflows/cla.yml
29lines · modecode
| 1 | name: CLA Assistant |
| 2 | on: |
| 3 | issue_comment: |
| 4 | types: [created] |
| 5 | pull_request_target: |
| 6 | types: [opened, closed, synchronize] |
| 7 | |
| 8 | permissions: |
| 9 | actions: write |
| 10 | contents: write |
| 11 | pull-requests: write |
| 12 | statuses: write |
| 13 | |
| 14 | jobs: |
| 15 | cla: |
| 16 | runs-on: ubuntu-latest |
| 17 | steps: |
| 18 | - uses: contributor-assistant/github-action@ca4a40a7d1004f18d9960b404b97e5f30a505a08 # v2.6.1 |
| 19 | if: | |
| 20 | github.event_name == 'pull_request_target' || |
| 21 | github.event.comment.body == 'recheck' || |
| 22 | github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA' |
| 23 | env: |
| 24 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 25 | with: |
| 26 | path-to-document: https://github.com/openai/codex-action/blob/main/CLA.md |
| 27 | path-to-signatures: signatures/cla.json |
| 28 | branch: cla-signatures |
| 29 | allowlist: dependabot[bot] |
| 30 | |