Skip to content

Docs Contributors

Docs Contributors #2

Workflow file for this run

name: Docs Contributors
on:
schedule:
- cron: '0 3 * * SUN'
workflow_dispatch:
jobs:
contributors:
name: docs_contributors
if: ${{ github.repository_owner == 'withastro' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Install Tools & Dependencies
uses: ./.github/actions/install
- name: Update Docs Contributors
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: pnpm tsm --require=./scripts/lib/filter-warnings.cjs ./scripts/weekly-contributors.ts
- name: Create Pull Request
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
with:
branch: ci/contributors
token: ${{ secrets.FREDKBOT_GITHUB_TOKEN }}
add-paths: src/data/contributors.json
commit-message: 'ci: update contributors'
title: 'ci: update docs contributors'
body: |
This PR is auto-generated by a weekly GitHub action to update the list of contributors to the docs repository.
labels: ci