feat(skill): add deferred-critical-comments pass and reply/resolve pe… #13
Workflow file for this run
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: Auto Assign PR Creator | |
| on: | |
| pull_request: | |
| types: [opened, reopened] | |
| jobs: | |
| assign: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pull-requests: write | |
| steps: | |
| - uses: actions/github-script@v9 | |
| with: | |
| script: | | |
| const { login, type } = context.payload.pull_request.user; | |
| if (type !== 'Bot') { | |
| try { | |
| await github.rest.issues.addAssignees({ | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| issue_number: context.payload.pull_request.number, | |
| assignees: [login] | |
| }); | |
| } catch (error) { | |
| console.log(`Skipping assignment for ${login}: ${error.message}`); | |
| } | |
| } |