Skip to content

Commit

Permalink
feat: add lint test
Browse files Browse the repository at this point in the history
  • Loading branch information
thangbuiq committed Feb 16, 2024
1 parent 3e322d7 commit a284ae2
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/auto_assign.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name: 'Pull Request Assigner'
name: 'PR Assigner'
on:
pull_request:
types: [opened, ready_for_review]

jobs:
add-reviews:
name: Auto
runs-on: ubuntu-22.04
steps:
- uses: kentaro-m/auto-assign-action@v2.0.0
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/auto_labeler.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name: 'Pull Request Labeler'
name: 'PR Labeler'
on:
pull_request:
types: [opened, ready_for_review, reopened, synchronize]

jobs:
labeler:
name: Auto
permissions:
contents: read
pull-requests: write
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/codespaces-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ env:

jobs:
build-test-image:
name: Test
runs-on: ubuntu-22.04
permissions:
contents: read
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Lint

on: [push, pull_request]

jobs:
lint:
name: Test
runs-on: ubuntu-22.04

permissions:
contents: read
packages: read
statuses: write

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Super-linter
uses: super-linter/super-linter/slim@v6.1.1
env:
GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }}
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:

jobs:
build-and-serve:
name: Test Build and Serving
name: Test
runs-on: ubuntu-22.04
steps:
- name: Checkout Code
Expand Down

0 comments on commit a284ae2

Please sign in to comment.