Skip to content

Commit d18d972

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 50ec338 commit d18d972

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
timeout-minutes: 10
2323
name: lint
2424
runs-on: ${{ github.repository == 'stainless-sdks/beeper-desktop-api-cli' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
25-
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
25+
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
2626

2727
steps:
2828
- uses: actions/checkout@v6
@@ -49,7 +49,7 @@ jobs:
4949
contents: read
5050
id-token: write
5151
runs-on: ${{ github.repository == 'stainless-sdks/beeper-desktop-api-cli' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
52-
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
52+
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
5353
steps:
5454
- uses: actions/checkout@v6
5555

0 commit comments

Comments
 (0)