Skip to content

Commit 00cae15

Browse files
committed
ci: align release-please with trogon-proto
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
1 parent a3a1925 commit 00cae15

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
---
21
name: Release Please
32

43
on:
54
push:
65
branches:
76
- main
7+
workflow_dispatch:
88

99
permissions:
1010
contents: write
11-
issues: write
1211
pull-requests: write
1312

1413
jobs:
1514
release-please:
15+
if: github.ref == 'refs/heads/main'
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Release Please
1919
id: release
2020
uses: googleapis/release-please-action@v5.0.0
2121
with:
2222
token: ${{ secrets.GH_PAT_RELEASE_PLEASE_ACTION }}
23-
config-file: .github/.release-please-config.json
24-
manifest-file: .github/.release-please-manifest.json
23+
config-file: .github/release-please-config.json
24+
manifest-file: .github/release-please-manifest.json

0 commit comments

Comments
 (0)