β«π Promoting release 2410151653000 to Nightly channel #371
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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # 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 }} |