File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ #
3+ # automated release numbering using release-please
4+ # - https://github.com/googleapis/release-please
5+ # - https://github.com/googleapis/release-please-action
6+ #
7+
8+ on :
9+ push :
10+ branches :
11+ - main
12+ - master
13+
14+ # verify "Actions" settings:
15+ # https://github.com/feeph/libi2c-python/settings/actions
16+ # - [x] "Allow GitHub Actions to create and approve pull requests"
17+ permissions :
18+ contents : write
19+ pull-requests : write
20+
21+ name : release-please
22+
23+ jobs :
24+ release-please :
25+ runs-on : ubuntu-latest
26+ environment : release-please
27+ steps :
28+ - name : Create a release
29+ uses : googleapis/release-please-action@v4
30+ with :
31+ # do NOT use 'secrets.GITHUB_TOKEN':
32+ # ---------------------------------------------------------------
33+ # When you use the repository's GITHUB_TOKEN to perform tasks,
34+ # events triggered by the GITHUB_TOKEN will not create a new
35+ # workflow run. This prevents you from accidentally creating
36+ # recursive workflow runs.
37+ # ---------------------------------------------------------------
38+ # required permissions:
39+ # - Contents: Read and write
40+ # - Pull requests: Read and write
41+ token : ${{ secrets.RELEASE_PLEASE_TOKEN }}
42+ target-branch : ${{ github.ref_name }}
You can’t perform that action at this time.
0 commit comments