Skip to content

Generate Retro (Twilio Labs) #30

Generate Retro (Twilio Labs)

Generate Retro (Twilio Labs) #30

name: Generate Retro (Twilio Labs)
on:
schedule:
# Run once a week at 00:00 AM UTC on Sunday.
- cron: 0 11 * * 0
# Run on demand via the GitHub UI
workflow_dispatch:
jobs:
generate_retro:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Run npm install
run: npm install
- name: Run npm run retro:twilio-labs
run: npm run retro:twilio-labs # Run the generation tools
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run gr2m/create-or-update-pull-request
uses: gr2m/create-or-update-pull-request-action@v1 # Create a PR or update the Action's existing PR
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
body: >
Here's a new retro, automatically generated with
GitHub Actions and `@retrogen/generate`.
branch: actions/retrogen # Custom branch *just* for this Action.
commit-message: 'doc: generate twilio-labs retro'
title: 'doc: generate retro'
assignees: bnb # change to whoever you want to be assigned to this PR
auto-merge: squash