Skip to content

Commit d0a210c

Browse files
ci: rewrite workflows (#183)
Co-authored-by: Nikita Almanov <[email protected]>
1 parent f79710f commit d0a210c

File tree

5 files changed

+6
-12
lines changed

5 files changed

+6
-12
lines changed

.github/ISSUE_TEMPLATE/docs-enhancement.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Docs Enhancement
22
description: Create a report to help us improve this project!
3-
title: 'documentation: '
3+
title: 'docs: '
44
labels:
55
- documentation
66
assignees:
@@ -15,7 +15,7 @@ body:
1515
id: describe
1616
attributes:
1717
label: Describe
18-
description: Describe your enhancements!
18+
description: Describe your enhancement!
1919
placeholder: Awesome enhancement
2020
validations:
2121
required: true

.github/workflows/dependabot-auto-merge-pull-request.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,7 @@ jobs:
2525
with:
2626
github-token: ${{ secrets.GITHUB_TOKEN }}
2727

28-
- name: Approve
29-
run: gh pr review --approve "$PR_URL"
30-
env:
31-
PR_URL: ${{ github.event.pull_request.html_url }}
32-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33-
34-
- name: Auto Merge
28+
- name: Merge
3529
run: gh pr merge --auto --merge "$PR_URL"
3630
env:
3731
PR_URL: ${{ github.event.pull_request.html_url }}

.github/workflows/eslint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ jobs:
4141
run: npm ci
4242

4343
- name: Lint
44-
run: npm run lint:eslint --no-error-on-unmatched-pattern
44+
run: npm run lint:ts

.github/workflows/markdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ jobs:
4141
run: npm ci
4242

4343
- name: Lint
44-
run: npm run lint:remark
44+
run: npm run lint:markdown

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
subjectPattern: ^(?![A-Z]).+$
2626
subjectPatternError: |
27-
The subject "{subject}" found in the pull request title "{title}"
27+
The subject '{subject}' found in the Pull Request title '{title}'
2828
didn't match the configured pattern. Please ensure that the subject
2929
doesn't start with an uppercase character.
3030
env:

0 commit comments

Comments
 (0)