Skip to content

Commit eace0ac

Browse files
authored
chore: update pt-title job to not fail on auto-generated PRs (#2715)
1 parent b7b3a7d commit eace0ac

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
## Check yourself
1010

11-
- [ ] Code follows the [contributing guide](https://github.com/Redocly/redocly-cli/blob/main/CONTRIBUTING.md#pull-request-guidelines) <!-- TODO: make it required -->
11+
- [ ] This PR follows the [contributing guide](https://github.com/Redocly/redocly-cli/blob/main/CONTRIBUTING.md#pull-request-guidelines) <!-- TODO: make it required -->
1212
- [ ] All new/updated code is covered by tests
1313
- [ ] Core code changed? - Tested with other Redocly products (internal contributions only)
1414
- [ ] New package installed? - Tested in different environments (browser/node)

.github/workflows/pr-title.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ permissions:
99

1010
jobs:
1111
check-pr-title:
12+
if: >-
13+
github.event.pull_request.user.login != 'dependabot[bot]' &&
14+
github.event.pull_request.user.login != 'github-actions[bot]'
1215
runs-on: ubuntu-latest
1316
steps:
1417
- name: Check PR title
@@ -27,6 +30,9 @@ jobs:
2730
fi
2831
echo "✅ PR title format is valid"
2932
check-pr-required-checklist:
33+
if: >-
34+
github.event.pull_request.user.login != 'dependabot[bot]' &&
35+
github.event.pull_request.user.login != 'github-actions[bot]'
3036
runs-on: ubuntu-latest
3137
steps:
3238
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Before submitting a pull request, please make sure the following is done:
3737
1. Run `npm install` in the repository root.
3838
1. If you've fixed a bug or added code that should be tested, don't forget to add [tests](#tests)!
3939
1. Ensure the test suite and lint checks pass (`npm run test` and `npm run lint`).
40-
1. Ensure your contribution does not violate copyright laws.
40+
1. It's your responsibility to ensure your contribution does not violate copyright laws.
4141
1. Each feat/fix PR should also contain a changeset (to create one, run `npx changeset`).
4242
If your changes are scoped to `packages/core` or `packages/respect-core` but also affect Redocly CLI behavior, include the `@redocly/cli` package as well.
4343
Describe what you've done in this PR using sentence case (you can refer to our [changelog](https://redocly.com/docs/cli/changelog/)).

tests/performance/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,9 @@
1919
"cli-2.14.1": "npm:@redocly/cli@2.14.1",
2020
"cli-2.14.2": "npm:@redocly/cli@2.14.2",
2121
"cli-2.19.2": "npm:@redocly/cli@2.19.2",
22-
"cli-2.20.1": "npm:@redocly/cli@2.20.1",
23-
"cli-2.21.1": "npm:@redocly/cli@2.21.1",
24-
"cli-2.22.1": "npm:@redocly/cli@2.22.1",
25-
"cli-2.23.0": "npm:@redocly/cli@2.23.0",
2622
"cli-2.24.1": "npm:@redocly/cli@2.24.1",
2723
"cli-2.25.0": "npm:@redocly/cli@2.25.0",
24+
"cli-2.25.4": "npm:@redocly/cli@2.25.4",
2825
"cli-latest": "npm:@redocly/cli@latest",
2926
"cli-next": "file:../../redocly-cli.tgz"
3027
},

vitest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const configExtension: { [key: string]: ViteUserConfig } = {
2222
thresholds: {
2323
lines: 79,
2424
functions: 82,
25-
statements: 78,
25+
statements: 79,
2626
branches: 71,
2727
},
2828
},

0 commit comments

Comments
 (0)