File tree Expand file tree Collapse file tree 5 files changed +12
-19
lines changed
Expand file tree Collapse file tree 5 files changed +12
-19
lines changed Original file line number Diff line number Diff line change 7070
7171 # Commit Toc files
7272 - name : Commit and Push
73- if : ${{ matrix.java-version == 17 && github.event_name == 'push' && github.ref ! = 'refs/heads/master' }}
73+ if : ${{ matrix.java-version == 17 && github.event_name == 'push' && github.ref = = 'refs/heads/master' }}
7474 uses : actions-x/commit@v6
7575 with :
7676 message : " fix(toc): update [skip ci]"
@@ -170,19 +170,17 @@ jobs:
170170 if : github.ref == 'refs/heads/master'
171171 steps :
172172 - name : Checkout
173- uses : actions/checkout@v4
173+ uses : actions/checkout@v4
174+ with :
175+ persist-credentials : false
174176 - name : Setup Node.js
175177 uses : actions/setup-node@v4
176178 with :
177- cache : npm
179+ cache : npm
178180 node-version : lts/*
179181 - name : Install dependencies
180- run : npm ci --no-optional
182+ run : npm ci --no-optional
181183 - name : Perform Release
182184 env :
183- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
184- PUBLIC_REPO : ${{ secrets.PUBLIC_REPO }}
185+ GITHUB_TOKEN : ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
185186 run : npx semantic-release
186- # TODO(DP):
187- # - add secrets to github
188- # - publish to public repo?
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ schema/remove-classDecl.xsl
88schema /remove-add-classDecl.xsl
99schema /add-dc-namespace-to-root.xsl
1010tests /* -result.html
11- expath-pkg.xml
1211gitsha.xml
1312.vscode /
1413.idea /
Original file line number Diff line number Diff line change 33 "plugins": [
44 ["@semantic-release/commit-analyzer", {
55 "preset": "conventionalcommits",
6- "presetConfig": "./conventionalcommits.config.cjs",
76 "releaseRules": [
87 { "type": "!(fix|feat|build|chore|ci|docs|style|refactor|perf|test)", "release": "patch" }
98 ]
1514 "prepareCmd": "ant -Dapp.version=${nextRelease.version}"
1615 }],
1716 ["@semantic-release/git", {
18- "assets": ["package.json ", "package-lock.json "],
17+ "assets": ["expath-pkg.xml ", "repo.xml "],
1918 "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
2019 }],
2120 ["@semantic-release/github", {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <package xmlns =" http://expath.org/ns/pkg" name =" http://history.state.gov/ns/data/frus" abbrev =" frus" version =" 0.0.0-dev" spec =" 1.0" >
3+ <title >FRUS (data)</title >
4+ </package >
You can’t perform that action at this time.
0 commit comments