From b2d8987434bbde5ab37bbff2e3b5a91be18c5572 Mon Sep 17 00:00:00 2001 From: Yen Truong <36055303+yen-tt@users.noreply.github.com> Date: Fri, 6 May 2022 08:38:23 -0400 Subject: [PATCH] use repo scoped token in third_party_notices and update_docs workflows (#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. --- .github/workflows/third_party_notices_check.yml | 9 +++++++++ .github/workflows/update_docs.yml | 2 ++ 2 files changed, 11 insertions(+) create mode 100644 .github/workflows/third_party_notices_check.yml diff --git a/.github/workflows/third_party_notices_check.yml b/.github/workflows/third_party_notices_check.yml new file mode 100644 index 00000000..b4ba0cf5 --- /dev/null +++ b/.github/workflows/third_party_notices_check.yml @@ -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 }} diff --git a/.github/workflows/update_docs.yml b/.github/workflows/update_docs.yml index 6cb61be6..4a1e2645 100644 --- a/.github/workflows/update_docs.yml +++ b/.github/workflows/update_docs.yml @@ -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 }}