Enhance documentation with glossaries and tooling rationale #1414
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: Self Approve Pull Request | |
| on: | |
| issue_comment: | |
| types: [created] | |
| jobs: | |
| self-approve: | |
| name: Self Approve PR | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| if: | | |
| github.event.issue.pull_request != '' && | |
| contains(github.event.comment.body, '/approve') && | |
| contains(fromJson('["dwlad90"]'), github.event.comment.user.login) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code into workspace directory | |
| uses: actions/checkout@v7.0.1 | |
| with: | |
| fetch-depth: 0 | |
| - name: Approve Pull Request | |
| run: | | |
| gh pr review ${{ github.event.issue.number }} --approve -R ${{ github.repository }} | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |