From c7c038d646d72934e519ba23c38baaa45fcd3981 Mon Sep 17 00:00:00 2001 From: Derek Schuff Date: Fri, 13 Sep 2024 15:26:06 -0700 Subject: [PATCH] Update document status input for W3C publishing to a choice value (#1803) The w3c-status options correspond to the valid options for Bikeshed's --md-status flag (i.e. Status metadata, https://speced.github.io/bikeshed/#metadata), and refer to the W3C rec-track document stages described in https://www.w3.org/policies/process/#maturity-stages (Editor's Draft, Working Draft, Candidiate Recommendation Draft, and Candidate Recommendation Snapshot). --- .github/workflows/w3c-publish.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/w3c-publish.yml b/.github/workflows/w3c-publish.yml index 7efbd3d84e..cd43f17a33 100644 --- a/.github/workflows/w3c-publish.yml +++ b/.github/workflows/w3c-publish.yml @@ -5,12 +5,23 @@ on: branches: [ main ] paths: [ .github/**, document/** ] - # Allows you to run this workflow manually from the Actions tab + # Allows you to run this workflow manually from the Actions tab, gh CLI tool, + # or REST API. THe w3c-status options correspond to the valid options for + # Bikeshed's --md-status flag, and refer to the W3C rec-track document + # stages described in https://www.w3.org/policies/process/#maturity-stages + # (Editor's Draft, Working Draft, Candidiate Recommendation Draft, and + # Candidate Recommendation Snapshot). workflow_dispatch: inputs: w3c-status: required: true - type: string + type: choice + description: W3C Document Status + options: + - ED + - WD + - CRD + - CR jobs: publish-to-w3c-TR: