Promote Beta/Experimental traffic Channels #137
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 channels to traffic channels on a schedule. | |
name: Promote Beta/Experimental traffic Channels | |
on: | |
schedule: | |
# 1:30 a.m. PST / 12:30 a.m. PDT, Wednesdays. | |
- cron: '30 1 * * 3' | |
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-beta-experimental-traffic: | |
uses: ampproject/cdn-configuration/.github/workflows/promote-reusable-workflow.yml@main | |
with: | |
channel-name: 'Beta/Experimental traffic' | |
ts-file: 'promote-beta-experimental-traffic.ts' | |
amp-version: ${{ github.event.inputs.amp-version }} | |
auto-merge: ${{ github.event.inputs.auto-merge }} | |
secrets: | |
access-token: ${{ secrets.ACCESS_TOKEN }} |