Skip to content

Promote Stable Channel #165

Promote Stable Channel

Promote Stable Channel #165

# Promotes the current Beta/Experimental opt-in channel to Stable on a schedule.
name: Promote Stable Channel
on:
schedule:
# 1:30 a.m. PST / 12:30 a.m. PDT, Tuesdays.
- cron: '30 1 * * 2'
workflow_dispatch:
inputs:
amp-version:
description: 'AMP version number (13 digits)'
required: false
default: ''
type: string
auto-merge:
description: 'Enable PR auto-merge'
required: false
type: boolean
jobs:
promote-stable:
uses: ampproject/cdn-configuration/.github/workflows/promote-reusable-workflow.yml@main
with:
channel-name: 'Stable'
ts-file: 'promote-stable.ts'
amp-version: ${{ github.event.inputs.amp-version }}
auto-merge: ${{ github.event.inputs.auto-merge }}
check-freeze: true
secrets:
access-token: ${{ secrets.ACCESS_TOKEN }}