Repository navigation
chore(deps): update dependency @docusaurus/plugin-sitemap to v3.10.2 #3543
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: Check pull request title | ||
|
Check warning on line 1 in .github/workflows/check-pr-title.yml
|
||
| on: | ||
| pull_request_target: | ||
| types: [opened, edited, reopened, synchronize] | ||
| jobs: | ||
| main: | ||
| # Skip the check entirely for these automation accounts. | ||
| if: github.event.pull_request.user.login != 'renovate[bot]' | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| pull-requests: write | ||
| issues: write | ||
| steps: | ||
| # Sparse checkout so we only pull the script, not the full repo. | ||
| # `pull_request_target` checks out the base branch by default, | ||
| # which is what we want — we never execute PR-supplied code. | ||
| - uses: actions/checkout@v6 | ||
| with: | ||
| sparse-checkout: .github/scripts | ||
| sparse-checkout-cone-mode: false | ||
| - name: Check title | ||
| uses: actions/github-script@v8 | ||
| env: | ||
| PR_AUTHOR: ${{ github.event.pull_request.user.login }} | ||
| PR_NUMBER: ${{ github.event.pull_request.number }} | ||
| with: | ||
| script: | | ||
| const check = require('./.github/scripts/check_pr_title.js'); | ||
| await check({ github, context, core }); | ||