Skip to content

Commit 66e229c

Browse files
authored
Merge pull request #105 from mtsmfm/fix-ci
Fix CI for 2.6 and generator
2 parents d85bf88 + b060284 commit 66e229c

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-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"

.github/workflows/ubuntu-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
bundler-cache: true
2525
- run: gem update --system
2626
if: matrix.ruby != '2.5' && matrix.ruby != '2.6' && matrix.ruby != '2.7'
27+
- run: gem update --system 3.2.3
28+
if: matrix.ruby == '2.6'
2729
- run: bundle exec rake
2830
- run: bundle exec rake
2931
env:

.github/workflows/windows-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
bundler-cache: true
2525
- run: gem update --system
2626
if: matrix.ruby != '2.5' && matrix.ruby != '2.6' && matrix.ruby != '2.7'
27+
- run: gem update --system 3.2.3
28+
if: matrix.ruby == '2.6'
2729
- run: bundle exec rake
2830
- run: bundle exec rake
2931
env:

0 commit comments

Comments
 (0)