Skip to content

Commit

Permalink
ci: rewrite workflows (#183)
Browse files Browse the repository at this point in the history
Co-authored-by: Nikita Almanov <131481562+nikkeyl@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and nikkeyl authored Jan 26, 2024
1 parent f79710f commit d0a210c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/docs-enhancement.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Docs Enhancement
description: Create a report to help us improve this project!
title: 'documentation: '
title: 'docs: '
labels:
- documentation
assignees:
Expand All @@ -15,7 +15,7 @@ body:
id: describe
attributes:
label: Describe
description: Describe your enhancements!
description: Describe your enhancement!
placeholder: Awesome enhancement
validations:
required: true
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/dependabot-auto-merge-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,7 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Approve
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Auto Merge
- name: Merge
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ jobs:
run: npm ci

- name: Lint
run: npm run lint:eslint --no-error-on-unmatched-pattern
run: npm run lint:ts
2 changes: 1 addition & 1 deletion .github/workflows/markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ jobs:
run: npm ci

- name: Lint
run: npm run lint:remark
run: npm run lint:markdown
2 changes: 1 addition & 1 deletion .github/workflows/semantic-pull-request-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
subjectPattern: ^(?![A-Z]).+$
subjectPatternError: |
The subject "{subject}" found in the pull request title "{title}"
The subject '{subject}' found in the Pull Request title '{title}'
didn't match the configured pattern. Please ensure that the subject
doesn't start with an uppercase character.
env:
Expand Down

0 comments on commit d0a210c

Please sign in to comment.