Skip to content

Commit 000a85e

Browse files
committed
fix: remove description and inputs
1 parent 6fc35f2 commit 000a85e

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed
Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,17 @@
11
name: Release version 1.x.x. fix
22

3-
description:
4-
Organizes CI/CD pipeline for branch with fixes for version 1.x.x (version-1.x.x/fixes) - generate Changelog and bump version automatically,
5-
create a release PR which once merged results in creating a new GitHub release and publishing a new version of NPM
6-
package
7-
83
on:
94
push:
105
branches: [version-1.x.x/fixes]
116

12-
inputs:
13-
node-version: 14
14-
github-token: ${{ secrets.GRAVITY_UI_BOT_GITHUB_TOKEN }}
15-
npm-token: ${{ secrets.GRAVITY_UI_BOT_NPM_TOKEN }}
16-
default-branch: version-1.x.x/fixes
17-
187
jobs:
198
release:
209
runs-on: ubuntu-latest
2110
steps:
2211
- uses: actions/checkout@v2
2312
- uses: actions/setup-node@v1
2413
with:
25-
node-version: ${{ inputs.node-version }}
14+
node-version: 14
2615
registry-url: 'https://registry.npmjs.org'
2716
- run: npm ci
2817
shell: bash
@@ -33,14 +22,15 @@ jobs:
3322
- uses: google-github-actions/release-please-action@v3
3423
id: release
3524
with:
36-
token: ${{ inputs.github-token }}
25+
token: ${{ secrets.GRAVITY_UI_BOT_GITHUB_TOKEN }}
3726
release-type: node
3827
package-name: ${{ steps.package.outputs.name }}
3928
changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"perf","section":"Performance Improvements","hidden":false}]'
4029
bump-minor-pre-major: true
41-
default-branch: ${{ inputs.default-branch }}
30+
default-branch: version-1.x.x/fixes
31+
skip-github-release: true
4232
- run: npm publish --tag untagged --access public
4333
env:
44-
NODE_AUTH_TOKEN: ${{ inputs.npm-token }}
34+
NODE_AUTH_TOKEN: ${{ secrets.GRAVITY_UI_BOT_NPM_TOKEN }}
4535
if: ${{ steps.release.outputs.release_created }}
4636
shell: bash

0 commit comments

Comments
 (0)