Skip to content

Promote Beta/Experimental traffic Channels #196

Promote Beta/Experimental traffic Channels

Promote Beta/Experimental traffic Channels #196

# 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 }}