File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ name : GitHub Action CI
2+
3+ # We're using pull_request_target here instead of just pull_request so that the
4+ # action runs in the context of the base of the pull request, rather than in the
5+ # context of the merge commit. For more detail about the differences, see:
6+ # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target
7+ on :
8+ pull_request_target :
9+ # We don't need this to be run on all types of PR behavior
10+ # See https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request
11+ types :
12+ - opened
13+ - synchronize
14+ - edited
15+
16+ permissions : {} # none
17+
18+ jobs :
19+ check :
20+ permissions :
21+ pull-requests : write
22+ name : Check Commits
23+ runs-on : ubuntu-latest
24+ steps :
25+ - name : Pull Request Commit Checker
26+ uses : open-mpi/pr-git-commit-checker@v1.0.0
27+ with :
28+ token : " ${{ secrets.GITHUB_TOKEN}}"
You can’t perform that action at this time.
0 commit comments