Skip to content

Commit

Permalink
fix: update workflow input parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh authored Dec 4, 2024
1 parent b610bc9 commit fc0d30c
Showing 1 changed file with 8 additions and 22 deletions.
30 changes: 8 additions & 22 deletions .github/workflows/create-release-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ on:
workflow_dispatch:
inputs:
type:
description: 'Release type'
description: 'What's the type of the release? (Options: node, miner, both)"'
required: true
tag:
description: "What's the tag of the release? (e.g. 1.30.1)"
description: "What's the tag of the release? (e.g., 1.30.1)"
required: true
level:
description: "What's the level of the release? (major, minor, patch)"
description: "What's the level of the release? (Options: major, minor, patch)"
required: true
network-upgrade:
description: "What's the version of the network upgrade this release is related to? (e.g. 23)"
description: "What's the version of the network upgrade this release is related to? (e.g., 25)"
required: false
discussion-link:
description: "What's a link to the GitHub Discussions topic for the network upgrade?"
Expand All @@ -22,22 +22,10 @@ on:
description: "What's a link to the Lotus CHANGELOG entry for the network upgrade?"
required: false
rc1-date:
description: "What's the expected shipping date for RC1 (YYYY-MM-DD)?"
required: false
rc1-precision:
description: "How precise is the RC1 date? (day, week)"
required: false
rc1-confidence:
description: "How confident is the RC1 date? (estimated, confirmed)"
description: "What's the expected shipping date for RC1?"
required: false
stable-date:
description: "What's the expected shipping date for the stable release (YYYY-MM-DD)?"
required: false
stable-precision:
description: "How precise is the stable release date? (day, week)"
required: false
stable-confidence:
description: "How confident is the stable release date? (estimated, confirmed)"
description: "What's the expected shipping date for the stable release?"
required: false

defaults:
Expand All @@ -60,15 +48,13 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
run: |
./release create-issue \
--create-on-github true \
--type "${{ github.event.inputs.type }}" \
--tag "${{ github.event.inputs.tag }}" \
--level "${{ github.event.inputs.level }}" \
--network-upgrade "${{ github.event.inputs.network-upgrade }}" \
--discussion-link "${{ github.event.inputs.discussion-link }}" \
--changelog-link "${{ github.event.inputs.changelog-link }}" \
--rc1-date "${{ github.event.inputs.rc1-date }}" \
--rc1-precision "${{ github.event.inputs.rc1-precision }}" \
--rc1-confidence "${{ github.event.inputs.rc1-confidence }}" \
--stable-date "${{ github.event.inputs.stable-date }}" \
--stable-precision "${{ github.event.inputs.stable-precision }}" \
--stable-confidence "${{ github.event.inputs.stable-confidence }}"
--repo "filecoin-project/lotus"

0 comments on commit fc0d30c

Please sign in to comment.