Skip to content

Commit c542963

Browse files
committed
chore: align release-please action to inherit statnett/github-workflows
1 parent 37bc528 commit c542963

File tree

1 file changed

+11
-17
lines changed

1 file changed

+11
-17
lines changed

.github/workflows/release-please.yml

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,18 @@
1+
---
2+
name: Release Please
13
on:
24
push:
35
branches:
46
- main
7+
workflow_dispatch:
58

69
permissions:
7-
contents: write
8-
pull-requests: write
9-
10-
name: release-please
11-
10+
contents: read
1211
jobs:
13-
release-please:
14-
runs-on: ubuntu-latest
15-
steps:
16-
- uses: googleapis/release-please-action@v4
17-
with:
18-
# this assumes that you have created a personal access token
19-
# (PAT) and configured it as a GitHub action secret named
20-
# `RELEASE_PLEASE_TOKEN` (this secret name is not important).
21-
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
22-
# this is a built-in strategy in release-please, see "Action Inputs"
23-
# for more options
24-
release-type: simple
12+
trigger:
13+
uses: statnett/github-workflows/.github/workflows/release-please.yaml@main
14+
secrets: inherit
15+
permissions:
16+
contents: write
17+
pull-requests: write
18+

0 commit comments

Comments
 (0)