Skip to content

Commit

Permalink
use repo scoped token in third_party_notices and update_docs workflows (
Browse files Browse the repository at this point in the history
#156)

use repo scoped token for workflows with EndBug/add-and-commit github action so the automated commit from that action will trigger a rerun of the github actions in the pr. Add third_party_notices_check.yml to repo.

J=SLAP-2044
TEST=manual

add new dependency and changed doc comments in repo. See that third_party_notices_check and update_docs workflow made an automated commit and reran other github actions.
  • Loading branch information
yen-tt authored May 6, 2022
1 parent 3c8b63a commit b2d8987
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/third_party_notices_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Check and Update Third Party Notices

on: pull_request

jobs:
call_notices_check:
uses: yext/slapshot-reusable-workflows/.github/workflows/third_party_notices_check.yml@v1
secrets:
REPO_SCOPED_TOKEN: ${{ secrets.BOT_REPO_SCOPED_TOKEN }}
2 changes: 2 additions & 0 deletions .github/workflows/update_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ jobs:
uses: yext/slapshot-reusable-workflows/.github/workflows/update_docs.yml@v1
with:
build_script: npm run build-ci
secrets:
REPO_SCOPED_TOKEN: ${{ secrets.BOT_REPO_SCOPED_TOKEN }}

0 comments on commit b2d8987

Please sign in to comment.