Skip to content

Commit 1fe0977

Browse files
authored
chore: enable gh annotations for forks (#1564)
1 parent 5b69cae commit 1fe0977

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

.github/workflows/springwolf-core.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
check_name: test-core
4848
require_tests: true
4949
report_paths: '**/build/test-results/test/TEST-*.xml'
50+
annotate_only: github.event.pull_request.head.repo.full_name != github.repository # for forks
5051

5152
- name: Publish package
5253
if: github.ref == 'refs/heads/master'

.github/workflows/springwolf-plugins.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ jobs:
6868
check_name: test-plugin-${{ matrix.plugin }}-junit
6969
require_tests: true
7070
report_paths: '**/build/test-results/test/TEST-*.xml'
71+
annotate_only: github.event.pull_request.head.repo.full_name != github.repository # for forks
7172

7273
- name: Run e2e tests
7374
run: ./gradlew -p springwolf-examples/e2e pnpm_run_install_deps test
@@ -80,6 +81,7 @@ jobs:
8081
check_name: test-plugin-${{ matrix.plugin }}-e2e
8182
require_tests: true
8283
report_paths: '**/test-results/junit.xml'
84+
annotate_only: github.event.pull_request.head.repo.full_name != github.repository # for forks
8385
- uses: actions/upload-artifact@v5
8486
if: always()
8587
with:

.github/workflows/springwolf-ui.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
check_name: test-ui-jest
5050
require_tests: true
5151
report_paths: '**/build/test-results/junit.xml'
52+
annotate_only: github.event.pull_request.head.repo.full_name != github.repository # for forks
5253

5354
- name: Build
5455
run: ./gradlew -p ${{ env.project }} build

0 commit comments

Comments
 (0)