Skip to content

Commit 4a52e91

Browse files
committed
feat(release-workflow): defined a name for the workflow
1 parent 5c78f5e commit 4a52e91

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/semantic-release/ci-providers/github-workflows/scaffolder-test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ suite('github release workflow scaffolder', () => {
2525
const dumpedWorkflowYaml = any.simpleObject();
2626
jsYaml.dump
2727
.withArgs({
28+
name: 'Release',
2829
on: {push: {branches: ['alpha']}, workflow_dispatch: {}},
2930
env: {FORCE_COLOR: 1, NPM_CONFIG_COLOR: 'always'},
3031
jobs: {

src/semantic-release/ci-providers/github-workflows/scaffolder.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export default async function ({projectRoot}) {
55
await fs.writeFile(
66
`${projectRoot}/.github/workflows/release.yml`,
77
dump({
8+
name: 'Release',
89
on: {push: {branches: ['alpha']}, workflow_dispatch: {}},
910
env: {FORCE_COLOR: 1, NPM_CONFIG_COLOR: 'always'},
1011
jobs: {

0 commit comments

Comments
 (0)