Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add format #10

Merged
merged 1 commit into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Dependabot Auto Merge Pull Request
name: Auto Merge Dependabot Pull Request

on:
pull_request_target:
Expand All @@ -10,14 +10,14 @@ permissions:
pull-requests: write

jobs:
dependabot-auto-merge-pull-request:
name: Merge
auto-merge-dependabot-pull-request:
name: Auto Merge Dependabot Pull Request

if: ${{ github.actor == 'dependabot[bot]' }}

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

if: ${{ github.actor == 'dependabot[bot]' }}

steps:
- name: Dependabot Metadata
id: metadata
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ on:
- main
paths:
- index.ts
- package.json
push:
branches:
- main
paths:
- index.ts
- package.json

permissions:
actions: read
Expand All @@ -19,13 +21,14 @@ permissions:

jobs:
codeql:
name: Analyze
name: CodeQL

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

strategy:
fail-fast: false

matrix:
language:
- javascript-typescript
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/commitlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
commit-lint:
name: Lint
name: Commit Lint

runs-on: ubuntu-latest
timeout-minutes: 10
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
create-pull-request:
name: On Branch Push
name: Create Pull Request

runs-on: ubuntu-latest
timeout-minutes: 10
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/editorconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ on:

jobs:
editorconfig:
name: Lint
name: Editorconfig

if: ${{ github.event.workflow_run.conclusion == 'success' }}

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

if: ${{ github.event.workflow_run.conclusion == 'success' }}

steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/eslint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ on:

jobs:
eslint:
name: Lint
name: ESLint

if: ${{ github.event.workflow_run.conclusion == 'success' }}

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

if: ${{ github.event.workflow_run.conclusion == 'success' }}

steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/markdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ on:

jobs:
markdown:
name: Lint
name: Markdown

if: ${{ github.event.workflow_run.conclusion == 'success' }}

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

if: ${{ github.event.workflow_run.conclusion == 'success' }}

steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
pre-commit:
name: Lint
name: Pre-commit

runs-on: ubuntu-latest
timeout-minutes: 10
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/prettier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ on:

jobs:
prettier:
name: Lint
name: Prettier

if: ${{ github.event.workflow_run.conclusion == 'success' }}

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

if: ${{ github.event.workflow_run.conclusion == 'success' }}

steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ on:

jobs:
release:
name: Version Increase
name: Release

if: ${{ github.event.workflow_run.conclusion == 'success' }}

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

if: ${{ github.event.workflow_run.conclusion == 'success' }}

steps:
- name: Generate Token
id: generate_token
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/semantic-pull-request-title.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ on:

jobs:
semantic-pull-request-title:
name: Lint
name: Semantic Pull Request Title

if: ${{ github.actor != 'dependabot[bot]' }}

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

if: ${{ github.actor != 'dependabot[bot]' }}

steps:
- name: Lint
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
test:
name: Test

if: ${{ github.event.workflow_run.conclusion == 'success' }}

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

if: ${{ github.event.workflow_run.conclusion == 'success' }}

steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down