Skip to content

Commit b060284

Browse files
committed

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/generator.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
- uses: actions/checkout@v4
1515
with:
1616
ref: ${{ github.head_ref }}
17+
repository: ${{ github.event.pull_request.head.repo.full_name }}
1718
- id: commit_author
1819
run: echo "name=author::$(git show -s --format=%an)" >> $GITHUB_OUTPUT
1920

@@ -26,6 +27,7 @@ jobs:
2627
with:
2728
submodules: true
2829
ref: ${{ github.head_ref }}
30+
repository: ${{ github.event.pull_request.head.repo.full_name }}
2931
token: ${{ secrets.PAT }}
3032
- uses: ruby/setup-ruby@v1
3133
with:
@@ -36,7 +38,7 @@ jobs:
3638
node-version: 18
3739
- run: bin/generate_files
3840
- run: git diff --exit-code
39-
- if: failure()
41+
- if: failure() && github.event.pull_request.head.repo.full_name == 'mtsmfm/language_server-protocol-ruby'
4042
run: |
4143
git config user.name "github-actions[bot]"
4244
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"

0 commit comments

Comments
 (0)