Skip to content

Commit c054066

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

3 files changed

Lines changed: 5 additions & 7 deletions

File tree

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,22 @@
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:
18-
- name: Release Please
19-
id: release
20-
uses: googleapis/release-please-action@v4.3.0
18+
- uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4
2119
with:
2220
token: ${{ secrets.GH_PAT_RELEASE_PLEASE_ACTION }}
23-
config-file: .github/.release-please-config.json
24-
manifest-file: .github/.release-please-manifest.json
21+
config-file: .github/release-please-config.json
22+
manifest-file: .github/release-please-manifest.json

0 commit comments

Comments
 (0)