mirror of
https://github.com/openai/openai-go.git
synced 2026-03-31 16:47:11 +09:00
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:
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user