Skip to content

Sync: Bob

Sync: Bob #487

name: Configlet Generate
on:
pull_request:
workflow_dispatch:
jobs:
configlet-generate:
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- name: Fetch configlet
uses: exercism/github-actions/configlet-ci@main
# GITHUB_TOKEN is not set when we run the fetch script, because we're in
# a composite action. Set GH_TOKEN so that `gh release download` can
# make authenticated requests (it fails otherwise).
env:
GH_TOKEN: ${{ github.token }}
- name: Generete templated docs
run: configlet generate --update --yes
- name: Commit generated code
uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842