Repository navigation
feat: prevent users from removing themselves from team #19
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: PR Assistant | |
| on: | |
| pull_request: | |
| types: [opened, edited, synchronize] | |
| permissions: | |
| pull-requests: write | |
| issues: write | |
| contents: write | |
| jobs: | |
| pr-assistant: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Generate GitHub App token | |
| id: app-token | |
| uses: actions/create-github-app-token@v2 | |
| with: | |
| app-id: ${{ secrets.CODEX_ASSISTANT_APP_ID }} | |
| private-key: ${{ secrets.CODEX_ASSISTANT_PRIVATE_KEY }} | |
| - uses: codex-team/action-pr-assistant@master | |
| with: | |
| check: description | |
| mode: draft | |
| token: ${{ steps.app-token.outputs.token }} |