Promote Stable Channel #161
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 }} |