Skip to content

Commit ab76f56

Browse files
ci: add format (#10)
Co-authored-by: Almanov Nikita <[email protected]>
1 parent f68a068 commit ab76f56

12 files changed

+32
-29
lines changed

.github/workflows/dependabot-auto-merge-pull-request.yaml renamed to .github/workflows/auto-merge-dependabot-pull-request.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Dependabot Auto Merge Pull Request
1+
name: Auto Merge Dependabot Pull Request
22

33
on:
44
pull_request_target:
@@ -10,14 +10,14 @@ permissions:
1010
pull-requests: write
1111

1212
jobs:
13-
dependabot-auto-merge-pull-request:
14-
name: Merge
13+
auto-merge-dependabot-pull-request:
14+
name: Auto Merge Dependabot Pull Request
15+
16+
if: ${{ github.actor == 'dependabot[bot]' }}
1517

1618
runs-on: ubuntu-latest
1719
timeout-minutes: 10
1820

19-
if: ${{ github.actor == 'dependabot[bot]' }}
20-
2121
steps:
2222
- name: Dependabot Metadata
2323
id: metadata

.github/workflows/codeql.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ on:
66
- main
77
paths:
88
- index.ts
9+
- package.json
910
push:
1011
branches:
1112
- main
1213
paths:
1314
- index.ts
15+
- package.json
1416

1517
permissions:
1618
actions: read
@@ -19,13 +21,14 @@ permissions:
1921

2022
jobs:
2123
codeql:
22-
name: Analyze
24+
name: CodeQL
2325

2426
runs-on: ubuntu-latest
2527
timeout-minutes: 10
2628

2729
strategy:
2830
fail-fast: false
31+
2932
matrix:
3033
language:
3134
- javascript-typescript

.github/workflows/commitlint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
commit-lint:
13-
name: Lint
13+
name: Commit Lint
1414

1515
runs-on: ubuntu-latest
1616
timeout-minutes: 10

.github/workflows/create-pull-request.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
77
create-pull-request:
8-
name: On Branch Push
8+
name: Create Pull Request
99

1010
runs-on: ubuntu-latest
1111
timeout-minutes: 10

.github/workflows/editorconfig.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ on:
1515

1616
jobs:
1717
editorconfig:
18-
name: Lint
18+
name: Editorconfig
19+
20+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1921

2022
runs-on: ubuntu-latest
2123
timeout-minutes: 10
2224

23-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
24-
2525
steps:
2626
- name: Checkout Repository
2727
uses: actions/checkout@v4

.github/workflows/eslint.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ on:
1515

1616
jobs:
1717
eslint:
18-
name: Lint
18+
name: ESLint
19+
20+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1921

2022
runs-on: ubuntu-latest
2123
timeout-minutes: 10
2224

23-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
24-
2525
steps:
2626
- name: Checkout Repository
2727
uses: actions/checkout@v4

.github/workflows/markdown.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ on:
1515

1616
jobs:
1717
markdown:
18-
name: Lint
18+
name: Markdown
19+
20+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1921

2022
runs-on: ubuntu-latest
2123
timeout-minutes: 10
2224

23-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
24-
2525
steps:
2626
- name: Checkout Repository
2727
uses: actions/checkout@v4

.github/workflows/pre-commit.yaml

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

88
jobs:
99
pre-commit:
10-
name: Lint
10+
name: Pre-commit
1111

1212
runs-on: ubuntu-latest
1313
timeout-minutes: 10

.github/workflows/prettier.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ on:
1515

1616
jobs:
1717
prettier:
18-
name: Lint
18+
name: Prettier
19+
20+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1921

2022
runs-on: ubuntu-latest
2123
timeout-minutes: 10
2224

23-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
24-
2525
steps:
2626
- name: Checkout Repository
2727
uses: actions/checkout@v4

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ on:
1212

1313
jobs:
1414
release:
15-
name: Version Increase
15+
name: Release
16+
17+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1618

1719
runs-on: ubuntu-latest
1820
timeout-minutes: 10
1921

20-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
21-
2222
steps:
2323
- name: Generate Token
2424
id: generate_token

.github/workflows/semantic-pull-request-title.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ on:
1111

1212
jobs:
1313
semantic-pull-request-title:
14-
name: Lint
14+
name: Semantic Pull Request Title
15+
16+
if: ${{ github.actor != 'dependabot[bot]' }}
1517

1618
runs-on: ubuntu-latest
1719
timeout-minutes: 10
1820

19-
if: ${{ github.actor != 'dependabot[bot]' }}
20-
2121
steps:
2222
- name: Lint
2323
env:

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
test:
1818
name: Test
1919

20+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
21+
2022
runs-on: ubuntu-latest
2123
timeout-minutes: 10
2224

23-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
24-
2525
steps:
2626
- name: Checkout Repository
2727
uses: actions/checkout@v4

0 commit comments

Comments
 (0)