Replaced pull_request_target with pull_request to fix the workflow security issue #913
Workflow file for this run
This file contains 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 Title Checker" | |
on: | |
pull_request: | |
types: | |
- opened | |
- edited | |
- synchronize | |
- labeled | |
- unlabeled | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
# Pinned to commit for 1.4.0 | |
- uses: thehanimo/pr-title-checker@5652588c80c479af803eabfbdb5a3895a77c1388 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
pass_on_octokit_error: false | |
configuration_path: ".github/pr-title-checker-config.json" |