β«π Promoting release 2409240628000 to Nightly channel #363
Workflow file for this run
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
name: Auto approve | |
on: | |
pull_request: | |
types: | |
- auto_merge_enabled | |
paths: | |
- 'configs/versions.json' | |
jobs: | |
auto-approve: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: hmarr/auto-approve-action@v2 | |
if: github.actor == 'ampprojectbot' && startsWith(github.head_ref, 'promote-job-') | |
with: | |
github-token: '${{ github.token }}' | |
create-issue-on-error: | |
if: failure() | |
needs: auto-approve | |
permissions: | |
contents: read | |
issues: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- name: Create issue on error | |
uses: JasonEtco/create-an-issue@v2 | |
with: | |
filename: .github/create_issue_on_error.md | |
env: | |
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
WORKFLOW_NAME: ${{ github.workflow }} | |
MENTION: '@ampproject/wg-infra' | |
REPO_SLUG: ${{ github.repository }} | |
RUN_ID: ${{ github.run_id }} |