Skip to content

Commit f5b2090

Browse files
nmergetmfranzke
andauthored
fix: issue with commits from fork (#92)
Co-authored-by: Maximilian Franzke <[email protected]>
1 parent 37ce6be commit f5b2090

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.github/workflows/default.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
uses: ./.github/workflows/00-init.yml
1313

1414
scan-secrets:
15+
if: github.owner == 'db-ui'
1516
uses: ./.github/workflows/00-scan-secrets.yml
1617

1718
lint:
@@ -29,5 +30,5 @@ jobs:
2930

3031
deploy:
3132
uses: ./.github/workflows/02-deploy-gh-pages.yml
32-
if: ${{ github.actor != 'dependabot[bot]' }}
33+
if: ${{ github.actor != 'dependabot[bot]' && github.owner == 'db-ui' }}
3334
needs: [lint, build]

.github/workflows/pull-request-opened.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ permissions:
1111

1212
jobs:
1313
add-url-comment:
14+
if: github.owner == 'db-ui'
1415
uses: ./.github/workflows/99-add-url-comment.yml

.github/workflows/pull-request.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ jobs:
2222
uses: ./.github/workflows/99-dependency-review.yml
2323

2424
labeler:
25+
if: github.owner == 'db-ui'
2526
uses: ./.github/workflows/99-labeler.yml

0 commit comments

Comments
 (0)