mirror of
https://github.com/cdr/code-server.git
synced 2025-12-06 16:34:35 +01:00
chore(ci): disable docs-preview on forks (#5046)
This commit is contained in:
parent
cd6d740dc3
commit
7f884203f0
1 changed files with 3 additions and 0 deletions
3
.github/workflows/docs-preview.yaml
vendored
3
.github/workflows/docs-preview.yaml
vendored
|
|
@ -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 a new issue