Update release-code-freeze.yml

This commit is contained in:
nigeljamesstevenson 2024-02-22 16:52:11 +00:00 committed by GitHub
parent 24a216f887
commit 5e0dd983b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 13 additions and 13 deletions

View File

@ -1,17 +1,17 @@
name: 'Release: Code freeze'
#on:
# schedule:
# - cron: '0 0 * * 4' # Run at start of day UTC on Thursday. i.e. ~Wednesday EOD 23:59:59 UTC
# workflow_dispatch:
# inputs:
# timeOverride:
# description: "Time Override: The time to use in checking whether the action should run (default: 'now')."
# default: 'now'
# skipSlackPing:
# description: 'Skip Slack Ping: If true, the Slack ping will be skipped (useful for testing)'
# type: boolean
# slackChannelOverride:
# description: 'Slack Channel Override: The channel ID to send the Slack ping about the freeze'
on:
schedule:
- cron: '0 0 * * 4' # Run at start of day UTC on Thursday. i.e. ~Wednesday EOD 23:59:59 UTC
workflow_dispatch:
inputs:
timeOverride:
description: "Time Override: The time to use in checking whether the action should run (default: 'now')."
default: 'now'
skipSlackPing:
description: 'Skip Slack Ping: If true, the Slack ping will be skipped (useful for testing)'
type: boolean
slackChannelOverride:
description: 'Slack Channel Override: The channel ID to send the Slack ping about the freeze'
env:
TIME_OVERRIDE: ${{ inputs.timeOverride || 'now' }}