chore(ci): skip lint on metadata-only changes

Note that we still want to run tests, as these depend on the metadata.
This commit is contained in:
stainless-app[bot]
2026-03-24 15:16:40 +00:00
parent 94bbd24a2e
commit 0388a09b6c

View File

@@ -24,7 +24,8 @@ jobs:
runs-on: ${{ github.repository == 'stainless-sdks/openai-go' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: |-
github.repository == 'stainless-sdks/openai-go' &&
(github.event_name == 'push' || github.event.pull_request.head.repo.fork)
(github.event_name == 'push' || github.event.pull_request.head.repo.fork) &&
(github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
steps:
- uses: actions/checkout@v6