File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2,15 +2,16 @@ name: release-please
2
2
on :
3
3
push :
4
4
branches :
5
- - test/release-flow
5
+ - master
6
6
jobs :
7
7
release-please :
8
8
runs-on : ubuntu-latest
9
9
steps :
10
10
- uses : GoogleCloudPlatform/release-please-action@v2
11
11
id : release
12
12
with :
13
- token : ${{ secrets.GITHUB_TOKEN }}
13
+ # We can't rely on the GITHUB_TOKEN as we need to trigger
14
+ # further actions and the GITHUB_TOKEN doesn't allow it
15
+ token : ${{ secrets.NODE_PKG_RELEASE_TOKEN }}
14
16
release-type : node
15
17
package-name : ' @netlify/open-api'
16
- if : ${{ !steps.release.outputs.release_created }}
Original file line number Diff line number Diff line change 1
1
name : swagger-bump
2
2
on :
3
+ # Workaround for bumping the swagger.yml file on release-please PRs
3
4
push :
4
5
branches :
5
6
- release-*
16
17
- run : npm version:1-swagger
17
18
- uses : stefanzweifel/git-auto-commit-action@v4
18
19
with :
19
- commit_message : " Bump swagger.yml file"
20
+ commit_message : " chore: bump swagger.yml file"
Original file line number Diff line number Diff line change 17
17
"devDependencies" : {
18
18
"analytics" : " ^0.2.0" ,
19
19
"analytics-plugin-ga" : " ^0.1.5" ,
20
- "auto-changelog" : " ^1.16.1" ,
21
20
"ava" : " ^2.4.0" ,
22
21
"cp-file" : " ^7.0.0" ,
23
22
"eslint" : " ^6.3.0" ,
58
57
"convert" : " node src/convert.js" ,
59
58
"version" : " run-s version:*" ,
60
59
"version:1-swagger" : " node src/bump-swagger.js" ,
61
- "version:2-changelog" : " auto-changelog -p --template keepachangelog --breaking-pattern breaking" ,
62
- "version:3-git" : " git add CHANGELOG.md swagger.yml" ,
60
+ "version:2-git" : " git add swagger.yml" ,
63
61
"redoc" : " node src/docs/build.js" ,
64
62
"lint" : " run-s eslint prettier" ,
65
63
"eslint" : " eslint --fix \" src/**/*.js\" " ,
You can’t perform that action at this time.
0 commit comments