Skip to content

Commit 629493d

Browse files
authored
ci(release-please): merge workflows + refine config (#48)
* ci(release-please): merge workflows * ci(release-please): run only in this repo * ci(release-please): move config/manifest into .github folder * ci(release-please): reduce permissions
1 parent ffccf8e commit 629493d

File tree

2 files changed

+5
-26
lines changed

2 files changed

+5
-26
lines changed

.github/workflows/release-please-pr.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/workflows/release-please-release.yml renamed to .github/workflows/release-please.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,17 @@ on:
44
- main
55

66
permissions:
7-
contents: write
8-
pull-requests: write
7+
contents: read
98

10-
name: release-please-release
9+
name: release-please
1110

1211
jobs:
1312
release-please:
13+
if: github.repository == 'mdn/watify'
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4.4.0
1717
with:
18-
skip-github-pull-request: true
19-
repo-url: mdn/watify
20-
manifest-file: .release-please-manifest.json
18+
config-file: .github/release-please-config.json
19+
manifest-file: .github/release-please-manifest.json
2120
token: ${{ secrets.RELEASE_PLEASE_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)