Skip to content

Commit 459f521

Browse files
updated workflow
1 parent f7e198f commit 459f521

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/create_release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Create Release
1+
name: Create Release
22

33
on:
44
workflow_dispatch:
@@ -31,7 +31,7 @@ permissions:
3131
pull-requests: write
3232
packages: write
3333

34-
run-name: "Create Release · ${{ inputs.mode }} · ${{ github.ref_name }}"
34+
run-name: "Create Release · ${{ inputs.mode }} · ${{ github.ref_name }}"
3535

3636
jobs:
3737
validate-inputs:
@@ -44,12 +44,12 @@ jobs:
4444
VERSION='${{ inputs.version }}'
4545
INCR='${{ inputs.increment }}'
4646
if [[ "$MODE" == "explicit" && -z "$VERSION" ]]; then
47-
echo "? mode=explicit requires 'version' (e.g., 1.3-alpha)."; exit 1
47+
echo " mode=explicit requires 'version' (e.g., 1.3-alpha)."; exit 1
4848
fi
4949
if [[ "$MODE" == "bump" && -z "$INCR" ]]; then
50-
echo "? mode=bump requires 'increment' (major|minor|patch)."; exit 1
50+
echo " mode=bump requires 'increment' (major|minor|patch)."; exit 1
5151
fi
52-
echo "? inputs look good."
52+
echo " inputs look good."
5353
5454
set-version:
5555
needs: validate-inputs

.github/workflows/issue_branch.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: Create Issue Branch
22

33
on:
44
issues:
5-
types: [opened, assigned] # “immediate” / “auto” modes
5+
types: [opened, assigned]
66
issue_comment:
7-
types: [created] # ChatOps mode
7+
types: [created]
88
pull_request:
9-
types: [opened, closed] # PR-related features
9+
types: [opened, closed]
1010

1111
permissions:
1212
contents: read

version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/main/src/NerdBank.GitVersioning/version.schema.json",
3-
"version": "3.2.0",
3+
"version": "1.0.0",
44
"publicReleaseRefSpec": [
55
"^refs/heads/main$",
66
"^refs/heads/hotfix$",

0 commit comments

Comments
 (0)