Update External Docs #9
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: Update External Docs | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 8 * * 1' | |
permissions: | |
pull-requests: write | |
contents: write | |
jobs: | |
update-docs: | |
runs-on: ubuntu-latest | |
if: github.repository_owner == 'expressjs' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run scripts | |
run: bash ./get-contributing.sh && bash ./get-readmes.sh | |
- name: Create Pull Request | |
uses: gr2m/create-or-update-pull-request-action@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
commit-message: update external docs | |
title: 'Update external docs' | |
body: > | |
This auto-generated PR updates external documentation to the expressjs.com repository. | |
labels: doc | |
team_reviewers: docs-wg | |
branch: external-docs-${{ github.sha }} |