Skip to content

Commit c5a0fde

Browse files
committed
ci: updated release-please config
1 parent 8f9def3 commit c5a0fde

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed
Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,14 @@
11
name: Release Please
22

33
on:
4-
pull_request:
5-
types:
6-
- closed
7-
workflow_dispatch:
8-
9-
permissions:
10-
contents: write
11-
pull-requests: write
4+
push:
5+
branches:
6+
- main
127

138
jobs:
149
release-please:
1510
runs-on: ubuntu-latest
16-
if: github.event_name == 'workflow_dispatch' || (github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'release-please'))
1711
steps:
18-
- uses: actions/checkout@v4
1912
- uses: googleapis/release-please-action@v4
2013
with:
21-
release-type: php
14+
token: '${{ secrets.RELEASE_PLEASE }}'

0 commit comments

Comments
 (0)