Skip to content

Commit c77bc8c

Browse files
authored
fix: restore repository CI (#57)
1 parent f6dc3a4 commit c77bc8c

5 files changed

Lines changed: 778 additions & 308 deletions

File tree

.github/workflows/cla.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ permissions:
1414

1515
jobs:
1616
CLAAssistant:
17+
# The CI bot credentials and protected signature branch only exist upstream.
18+
if: ${{ github.repository == 'vendurehq/vendure' }}
1719
runs-on: ubuntu-latest
1820
steps:
1921
- name: Generate CI Bot Token

.github/workflows/deploy_dashboard.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ concurrency:
3030

3131
jobs:
3232
deploy:
33+
# Preview deployment credentials are only configured in the upstream repository.
34+
if: ${{ github.repository == 'vendurehq/vendure' }}
3335
runs-on: ubuntu-latest
3436
permissions:
3537
contents: read

.github/workflows/docs_ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ jobs:
5151

5252
generate-manifest:
5353
name: Generate & commit manifest
54-
# Skip fork PRs (can't push back to fork branches) and draft PRs
55-
if: ${{ github.event_name == 'push' || (!github.event.pull_request.head.repo.fork && !github.event.pull_request.draft) }}
54+
# The CI bot credentials only exist upstream. Also skip fork and draft PRs.
55+
if: ${{ github.repository == 'vendurehq/vendure' && (github.event_name == 'push' || (!github.event.pull_request.head.repo.fork && !github.event.pull_request.draft)) }}
5656
runs-on: ubuntu-latest
5757
permissions:
5858
contents: write

.github/workflows/generate_docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ concurrency:
1818
jobs:
1919
generate:
2020
name: Generate & commit docs
21-
# Skip fork PRs (can't push back to fork branches) and draft PRs
22-
if: ${{ !github.event.pull_request.head.repo.fork && !github.event.pull_request.draft }}
21+
# The CI bot credentials only exist upstream. Also skip fork and draft PRs.
22+
if: ${{ github.repository == 'vendurehq/vendure' && !github.event.pull_request.head.repo.fork && !github.event.pull_request.draft }}
2323
runs-on: ubuntu-latest
2424
permissions:
2525
contents: write

0 commit comments

Comments
 (0)