From 102cd39cf03bda25522e3e6a83104b71f8466a37 Mon Sep 17 00:00:00 2001 From: Christopher Hiller Date: Fri, 7 Apr 2023 11:26:15 -0700 Subject: [PATCH] chore(ci): fix docs workflow run as pull_request_target for permissions purposes --- .github/workflows/docs.yml | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index e81c0c1e1..4bb653c40 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,21 +1,7 @@ name: Build Docs on: - push: - # this list of paths could potentially impact doc generation. - paths: - - 'typedoc.json' - - 'tsconfig.json' - - 'scripts/build-docs.js' - - 'package*.json' - - 'lib/**/*.ts' - - 'lib/**/*.js' - - 'docs/**' - - '.github/workflows/docs.yml' # this file - - '!ci-jobs/**' - - '!**/test/**' - - pull_request: + pull_request_target: paths: - 'typedoc.json' - 'tsconfig.json'