33 pull_request_target :
44 branches : [main]
55 types : [opened, reopened, edited, synchronize]
6- push :
7- branches : [main]
86
97concurrency :
108 group : ${{ github.workflow }}-${{ github.ref }}
@@ -13,7 +11,6 @@ concurrency:
1311jobs :
1412 check-pr-title :
1513 name : Check PR Title
16- if : github.event_name == 'pull_request_target'
1714 runs-on : ubuntu-latest
1815 permissions :
1916 contents : read
2825 GITHUB_TOKEN : ${{ github.token }}
2926 - name : Post comment about invalid PR title
3027 if : failure()
31- uses : marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2.9.4
28+ uses : marocchino/sticky-pull-request-comment@70d2764d1a7d5d9560b100cbea0077fc8f633987 # v3.0.2
3229 with :
3330 header : conventional-commit-pr-title
3431 message : |
@@ -45,22 +42,18 @@ jobs:
4542 </details>
4643 - name : Delete comment about invalid PR title
4744 if : success()
48- uses : marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2.9.4
45+ uses : marocchino/sticky-pull-request-comment@70d2764d1a7d5d9560b100cbea0077fc8f633987 # v3.0.2
4946 with :
5047 header : conventional-commit-pr-title
5148 delete : true
5249
53- release-drafter :
54- name : ${{ github.event_name == 'pull_request_target' && ' Assign Labels' || 'Draft Release' }}
50+ assign-labels :
51+ name : Assign Labels
5552 runs-on : ubuntu-latest
5653 permissions :
57- contents : write
5854 pull-requests : write
5955 steps :
60- - name : ${{ github.event_name == 'pull_request_target' && ' Assign labels' || 'Update release draft' }}
61- uses : release-drafter/release-drafter@6db134d15f3909ccc9eefd369f02bd1e9cffdf97 # v6.2.0
56+ - name : Assign labels
57+ uses : release-drafter/release-drafter/autolabeler@139054aeaa9adc52ab36ddf67437541f039b88e2 # v7.1.1
6258 with :
63- disable-releaser : ${{ github.event_name == 'pull_request_target' }}
64- disable-autolabeler : ${{ github.event_name == 'push' }}
65- env :
66- GITHUB_TOKEN : ${{ github.token }}
59+ token : ${{ github.token }}
0 commit comments