Archived
1
0

chore(ci): disable docs-preview on forks (#5046)

This commit is contained in:
Joe Previte 2022-03-30 13:45:35 -07:00 committed by GitHub
parent cd6d740dc3
commit 7f884203f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,9 @@ jobs:
- name: Comment Credentials
uses: marocchino/sticky-pull-request-comment@v2
# Only run if PR comes from base repo
# Reason: forks cannot access secrets and this will always fail
if: github.event.pull_request.head.repo.full_name == github.repository
with:
GITHUB_TOKEN: ${{ github.token }}
header: codercom-preview-docs