Skip to content

Commit

Permalink
feat: add workflow to update external docs (#1559)
Browse files Browse the repository at this point in the history
* feat: add workflow to update external docs

* rename token
  • Loading branch information
bjohansebas committed Aug 25, 2024
1 parent 1106ae3 commit 8a5a0ac
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/update-external-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Update External Docs
on:
schedule:
- cron: '0 8 * * 1'


permissions:
pull-requests: write
contents: write

jobs:
update-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run scripts
run: bash ./get-contributing.sh && bash ./get-readmes.sh
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: update external docs
title: 'Update external docs'
body: >
This auto-generated PR updates external documentation to the expressjs.com repository.
labels: doc
branch: external-docs-${{ github.sha }}
delete-branch: true


0 comments on commit 8a5a0ac

Please sign in to comment.