Skip to content

Commit

Permalink
Create linters.yml for linting css.
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenDufresne authored Dec 9, 2024
1 parent 412f17d commit 3a979d4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Static Analysis (Linting)

# This workflow is triggered on pushes to trunk, and any PRs.
on:
push:
branches: [trunk]
pull_request:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup
uses: WordPress/wporg-repo-tools/.github/actions/setup@trunk
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Lint
uses: WordPress/wporg-repo-tools/.github/actions/lint@trunk

0 comments on commit 3a979d4

Please sign in to comment.