-
-
Notifications
You must be signed in to change notification settings - Fork 1
42 lines (33 loc) · 1.4 KB
/
release-please.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# 发行源码 | Release the source code
name: release-please
on:
workflow_dispatch:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
steps:
# Create release
# REF https://github.com/marketplace/actions/release-please-action
- name: Create release
uses: googleapis/release-please-action@v4
id: release
with:
# A GitHub secret token, the action defaults to using the special secrets.GITHUB_TOKEN
# REF https://github.com/marketplace/actions/release-please-action#github-credentials
token: ${{ secrets.PAT_ACTIONS }}
# branch to open pull release PR against (detected by default)
target-branch: main
# Path to the release-please config in the repository. Defaults to release-please-config.json
# config-file: release-please-config.json
# Path to the release-please versions manifest. Defaults to .release-please-manifest.json
# manifest-file: .release-please-manifest.json
# If true, do not attempt to create releases. This is useful if splitting release tagging from PR creation.
skip-github-release: false
# If true, do not attempt to create release pull requests. This is useful if splitting release tagging from PR creation.
skip-github-pull-request: false