mirror of https://github.com/coder/code-server.git
chore(ci): disable docs-preview on forks (#5046)
This commit is contained in:
parent
cd6d740dc3
commit
7f884203f0
|
@ -30,6 +30,9 @@ jobs:
|
||||||
|
|
||||||
- name: Comment Credentials
|
- name: Comment Credentials
|
||||||
uses: marocchino/sticky-pull-request-comment@v2
|
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:
|
with:
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
header: codercom-preview-docs
|
header: codercom-preview-docs
|
||||||
|
|
Loading…
Reference in New Issue