Skip to content

Commit 079a802

Browse files
chore(ci): skip lint on metadata-only changes
Note that we still want to run tests, as these depend on the metadata.
1 parent 23cb4ea commit 079a802

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ jobs:
2424
runs-on: ${{ github.repository == 'stainless-sdks/stagehand-ruby' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
2525
if: |-
2626
github.repository == 'stainless-sdks/stagehand-ruby' &&
27-
(github.event_name == 'push' || github.event.pull_request.head.repo.fork)
27+
(github.event_name == 'push' || github.event.pull_request.head.repo.fork) &&
28+
(github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
2829
steps:
2930
- uses: actions/checkout@v6
3031
- name: Set up Ruby

0 commit comments

Comments
 (0)