Skip to content

Commit

Permalink
chore(ci): fix docs workflow
Browse files Browse the repository at this point in the history
run as pull_request_target for permissions purposes
  • Loading branch information
boneskull committed Apr 7, 2023
1 parent 4f7825a commit 102cd39
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -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'
Expand Down

0 comments on commit 102cd39

Please # to comment.