Beautify the three dots of the markdown code block with different colors #147
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 Filter | |
| on: | |
| pull_request_target: | |
| types: [opened, reopened] | |
| jobs: | |
| check-template: | |
| if: github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pull-requests: write | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| - name: Check PR Content | |
| id: intercept | |
| uses: actions/github-script@v7 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| script: | | |
| const script = require('.github/workflows/scripts/pr-filter.js'); | |
| await script({ github, context, core }); |