Skip to content

Commit

Permalink
fix defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardfoyle committed Apr 2, 2024
1 parent b0269f1 commit b0bd89f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/deprecate_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,10 @@ on:
required: true
type: string
description: The release commit hash that should be deprecated
# TODO remove this before merging - testing only
default: e81b212ab
deprecationMessage:
required: true
type: string
description: The deprecation message to apply to the affected package versions
# TODO remove this before merging - testing only
default: test deprecation message

jobs:
install:
Expand All @@ -38,4 +34,5 @@ jobs:
- uses: ./.github/actions/setup_node
- uses: ./.github/actions/restore_install_cache
- name: Deprecate release versions
run: npx tsx scripts/deprecate_release.ts --commit-hash ${{ inputs.commitHash }} --deprecation-message ${{ inputs.deprecationMessage }}
# TODO remove defaults before merging -- for testing only
run: npx tsx scripts/deprecate_release.ts --commit-hash ${{ inputs.commitHash || 'e81b212ab' }} --deprecation-message ${{ inputs.deprecationMessage || 'test deprecation message' }}

0 comments on commit b0bd89f

Please sign in to comment.