openai/codex-action
Publicmirrored from https://github.com/openai/codex-actionAvailable
.github/workflows/cla.yml
29lines · modeblame
e9d0a695Michael Bolin9 months ago | 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@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: | |
151b4352Michael Bolin9 months ago | 26 | path-to-document: https://github.com/openai/codex-action/blob/main/CLA.md |
e9d0a695Michael Bolin9 months ago | 27 | path-to-signatures: signatures/cla.json |
| 28 | branch: cla-signatures | |
| 29 | allowlist: dependabot[bot] |