Skip to content

Commit

Permalink
add docs and notices action
Browse files Browse the repository at this point in the history
  • Loading branch information
popestr committed Jun 25, 2024
1 parent 4b9ed74 commit 12c9843
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/update-docs-and-notices.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# cannot use the default workflow (https://github.com/yext/slapshot-reusable-workflows)
# because of the monorepo structure
name: Check and Update Repo's documenation and third party notices

on: pull_request

jobs:
update-docs-and-third-party-notices:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.BOT_REPO_SCOPED_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: 16.x
- run: npm ci --ignore-scripts
- run: npm run build
- name: Update Documentation
uses: EndBug/add-and-commit@v9
with:
message: "Automated update to repo's documentation and third party notices from github action"
add: '**/*.md **/THIRD-PARTY-NOTICES'
push: true
default_author: github_actions

0 comments on commit 12c9843

Please sign in to comment.