We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eacfa9c commit 7f2adc8Copy full SHA for 7f2adc8
.github/workflows/pr-title.yaml
@@ -0,0 +1,18 @@
1
+name: Lint PR Title
2
+# Prevent writing to the repository using the CI token.
3
+# Ref: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#permissions
4
+permissions:
5
+ pull-requests: read
6
+on:
7
+ pull_request:
8
+ # By default, a workflow only runs when a pull_request's activity type is opened,
9
+ # synchronize, or reopened. We explicity override here so that PR titles are
10
+ # re-linted when the PR text content is edited.
11
+ types:
12
+ - opened
13
+ - edited
14
+ - reopened
15
+ - synchronize
16
+jobs:
17
+ lint:
18
+ uses: bufbuild/base-workflows/.github/workflows/pr-title.yaml@main
0 commit comments