mirror of
https://github.com/sdras/awesome-actions.git
synced 2025-04-09 17:39:14 -04:00
Add GitHub Super Linter (#20)
Co-authored-by: ECJ222 <enochchejieh@gmail.com>
This commit is contained in:
parent
fe9ac00e7d
commit
6760a9f52b
16
.github/workflows/lint.yml
vendored
16
.github/workflows/lint.yml
vendored
@ -1,15 +1,27 @@
|
||||
---
|
||||
name: Lint Awesome List
|
||||
on:
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- main
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions: read-all
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
name: Lint
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
packages: read
|
||||
statuses: write
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- run: npx awesome-lint
|
||||
shell: bash
|
||||
|
33
.github/workflows/linter.yml
vendored
Normal file
33
.github/workflows/linter.yml
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
---
|
||||
name: Lint Awesome Actions
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions: read-all
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Lint Awesome Actions
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
packages: read
|
||||
statuses: write
|
||||
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Lint Awesome Actions
|
||||
uses: super-linter/super-linter@v7
|
||||
env:
|
||||
VALIDATE_ALL_CODEBASE: false
|
||||
DEFAULT_BRANCH: main
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
x
Reference in New Issue
Block a user