Skip to content

Commit 41ed23c

Browse files
committed
chore: update release workflow descriptions for consistency and clarity
- Standardized descriptions in the release workflow inputs to use double quotes for consistency. - Removed unnecessary `runs-on` specifications from the release jobs to streamline the configuration.
1 parent 5fca27b commit 41ed23c

1 file changed

Lines changed: 8 additions & 10 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ on:
88
workflow_dispatch:
99
inputs:
1010
target_packages:
11-
description: 'Comma-separated list of packages to release'
11+
description: "Comma-separated list of packages to release"
1212
required: true
1313
type: string
14-
default: '@wdio/electron-service,@wdio/electron-cdp-bridge,@wdio/native-utils,@wdio/native-types'
14+
default: "@wdio/electron-service,@wdio/electron-cdp-bridge,@wdio/native-utils,@wdio/native-types"
1515
release_version:
16-
description: 'Release version type'
16+
description: "Release version type"
1717
required: true
1818
type: choice
1919
options:
@@ -26,7 +26,7 @@ on:
2626
- prerelease
2727
default: patch
2828
scope:
29-
description: 'Release scope (electron, tauri, shared)'
29+
description: "Release scope (electron, tauri, shared)"
3030
required: true
3131
type: choice
3232
options:
@@ -35,12 +35,12 @@ on:
3535
- tauri
3636
default: shared
3737
dry_run:
38-
description: 'Dry run (show what would happen without publishing)'
38+
description: "Dry run (show what would happen without publishing)"
3939
required: false
4040
type: boolean
4141
default: false
4242
target_branch:
43-
description: 'Branch to release from (default: main)'
43+
description: "Branch to release from (default: main)"
4444
required: false
4545
type: string
4646
default: main
@@ -77,14 +77,13 @@ jobs:
7777
mode: gate
7878
project-dir: .
7979
branch: main
80-
json: 'true'
81-
summary: 'true'
80+
json: "true"
81+
summary: "true"
8282
env:
8383
GITHUB_TOKEN: ${{ github.token }}
8484

8585
release-auto:
8686
name: Release (Auto)
87-
runs-on: ubuntu-latest
8887
needs: [gate]
8988
if: github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push' && needs.gate.outputs.should_release == 'true'
9089
uses: ./.github/workflows/_release.reusable.yml
@@ -104,7 +103,6 @@ jobs:
104103

105104
release-manual:
106105
name: Release (Manual)
107-
runs-on: ubuntu-latest
108106
if: github.event_name == 'workflow_dispatch'
109107
uses: ./.github/workflows/_release.reusable.yml
110108
permissions:

0 commit comments

Comments
 (0)