Skip to content

Commit

Permalink
super-linter workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tsubakimoto authored Aug 6, 2023
1 parent e2fdabb commit a5b1348
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# https://github.com/marketplace/actions/super-linter
name: Super Linter

on:
push:
branches-ignore:
- "main"
pull_request:
branches:
- "main"

jobs:
linting:
name: Lint Code Base
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
statuses: write
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Lint Code Base
uses: super-linter/super-linter@v5
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# github-actions-samples
GitHub Actionsを色々試すリポジトリ

[![GitHub Super-Linter](https://github.com/tsubakimoto/github-actions-samples/actions/workflows/linter.yml/badge.svg)](https://github.com/marketplace/actions/super-linter)

## .NET

### [ASP.NET Core](dotnet/aspnetcore/)
Expand Down

0 comments on commit a5b1348

Please sign in to comment.