Skip to content

Commit 57f787d

Browse files
fix: correct step indentation in create-release.yml workflow
Agent-Logs-Url: https://github.com/microsoft/real-time-intelligence-operations-solution-accelerator/sessions/2a65369c-51e3-450f-a425-3e54b0c3f697 Co-authored-by: Saswato-Microsoft <234112493+Saswato-Microsoft@users.noreply.github.com>
1 parent 036094a commit 57f787d

1 file changed

Lines changed: 45 additions & 45 deletions

File tree

.github/workflows/create-release.yml

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -14,53 +14,53 @@ jobs:
1414
create-release:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- name: Checkout repository
18-
uses: actions/checkout@v6
19-
with:
20-
ref: ${{ github.sha }}
17+
- name: Checkout repository
18+
uses: actions/checkout@v6
19+
with:
20+
ref: ${{ github.sha }}
2121

22-
- uses: codfish/semantic-release-action@v5
23-
id: semantic
24-
with:
25-
tag-format: 'v${version}'
26-
additional-packages: |
27-
['conventional-changelog-conventionalcommits@7']
28-
plugins: |
29-
[
22+
- uses: codfish/semantic-release-action@v5
23+
id: semantic
24+
with:
25+
tag-format: 'v${version}'
26+
additional-packages: |
27+
['conventional-changelog-conventionalcommits@7']
28+
plugins: |
3029
[
31-
"@semantic-release/commit-analyzer",
32-
{
33-
"preset": "conventionalcommits"
34-
}
35-
],
36-
[
37-
"@semantic-release/release-notes-generator",
38-
{
39-
"preset": "conventionalcommits",
40-
"presetConfig": {
41-
"types": [
42-
{ type: 'feat', section: 'Features', hidden: false },
43-
{ type: 'fix', section: 'Bug Fixes', hidden: false },
44-
{ type: 'perf', section: 'Performance Improvements', hidden: false },
45-
{ type: 'revert', section: 'Reverts', hidden: false },
46-
{ type: 'docs', section: 'Other Updates', hidden: false },
47-
{ type: 'style', section: 'Other Updates', hidden: false },
48-
{ type: 'chore', section: 'Other Updates', hidden: false },
49-
{ type: 'refactor', section: 'Other Updates', hidden: false },
50-
{ type: 'test', section: 'Other Updates', hidden: false },
51-
{ type: 'build', section: 'Other Updates', hidden: false },
52-
{ type: 'ci', section: 'Other Updates', hidden: false }
53-
]
30+
[
31+
"@semantic-release/commit-analyzer",
32+
{
33+
"preset": "conventionalcommits"
34+
}
35+
],
36+
[
37+
"@semantic-release/release-notes-generator",
38+
{
39+
"preset": "conventionalcommits",
40+
"presetConfig": {
41+
"types": [
42+
{ type: 'feat', section: 'Features', hidden: false },
43+
{ type: 'fix', section: 'Bug Fixes', hidden: false },
44+
{ type: 'perf', section: 'Performance Improvements', hidden: false },
45+
{ type: 'revert', section: 'Reverts', hidden: false },
46+
{ type: 'docs', section: 'Other Updates', hidden: false },
47+
{ type: 'style', section: 'Other Updates', hidden: false },
48+
{ type: 'chore', section: 'Other Updates', hidden: false },
49+
{ type: 'refactor', section: 'Other Updates', hidden: false },
50+
{ type: 'test', section: 'Other Updates', hidden: false },
51+
{ type: 'build', section: 'Other Updates', hidden: false },
52+
{ type: 'ci', section: 'Other Updates', hidden: false }
53+
]
54+
}
5455
}
55-
}
56-
],
57-
'@semantic-release/github'
58-
]
59-
env:
60-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56+
],
57+
'@semantic-release/github'
58+
]
59+
env:
60+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6161

62-
- run: echo ${{ steps.semantic.outputs.release-version }}
62+
- run: echo ${{ steps.semantic.outputs.release-version }}
6363

64-
- run: echo "$OUTPUTS"
65-
env:
66-
OUTPUTS: ${{ toJson(steps.semantic.outputs) }}
64+
- run: echo "$OUTPUTS"
65+
env:
66+
OUTPUTS: ${{ toJson(steps.semantic.outputs) }}

0 commit comments

Comments
 (0)