Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci-cd-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ env:
jobs:
run-ci-cd:
name: Run production CI/CD
if: github.event.repository.fork == false
permissions:
actions: write
attestations: write
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci-cd-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ env:
jobs:
run-ci-cd:
name: Run staging CI/CD
if: github.event.repository.fork == false
permissions:
actions: write
attestations: write
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/code-ql-actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ env:
jobs:
run-code-ql:
name: CodeQL Actions
if: github.event.repository.fork == false
permissions:
contents: read
security-events: write
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/code-ql-javascript-typescript.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ env:
jobs:
run-code-ql:
name: CodeQL JavaScript/TypeScript
if: github.event.repository.fork == false
permissions:
contents: read
security-events: write
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/code-ql-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ env:
jobs:
run-code-ql:
name: CodeQL Python
if: github.event.repository.fork == false
permissions:
contents: read
security-events: write
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/dependency-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ permissions: {}
jobs:
dependency-review:
name: Dependency review
if: github.event.repository.fork == false
permissions:
contents: read
runs-on: ubuntu-latest
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/run-code-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ env:
FORCE_COLOR: 1

jobs:
check-fork:
Comment thread
cubic-dev-ai[bot] marked this conversation as resolved.
Outdated
if: github.event.repository.fork == false
runs-on: ubuntu-latest
steps:
- run: echo "Not a fork,continuing the workflow"

run-backend-tests:
name: Backend tests
permissions:
Expand All @@ -18,8 +24,8 @@ jobs:

run-backend-coverage-upload:
name: Backend coverage upload
if: github.event.repository.fork == false
needs:
- check-fork
- run-backend-tests
permissions:
actions: read
Expand All @@ -41,8 +47,8 @@ jobs:

run-frontend-coverage-upload:
name: Frontend coverage upload
if: github.event.repository.fork == false
needs:
- check-fork
- run-frontend-tests
permissions:
actions: read
Expand Down