Skip to content

chore: Configure Renovate (#85) #63

chore: Configure Renovate (#85)

chore: Configure Renovate (#85) #63

Workflow file for this run

name: Stitch README.md
on:
push:
branches: [main]
# Change the event to pull_request_target
# so that it runs in the context of the base repository.
pull_request_target:
jobs:
stitchmd:
name: ${{ github.event_name == 'pull_request_target' && 'Update' || 'Check' }}
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.head_ref }}
- name: Check or update README
uses: abhinav/stitchmd-action@v1
with:
mode: ${{ github.event_name == 'pull_request_target' && 'write' || 'check' }}
summary: doc/README.md
output: README.md
- uses: stefanzweifel/git-auto-commit-action@v5
if: ${{ github.event_name == 'pull_request_target' }}
with:
file_pattern: README.md
commit_message: 'Update README.md'