JSL_OrganizeInternalOA/.github/workflow/code-check.yaml

32 lines
658 B
YAML
Raw Normal View History

2024-04-09 20:39:24 +08:00
name: 代码检查
on:
push:
branches:
- master
pull_request:
- develop
jobs:
build:
name: 代码检查
runs-on: linux_amd64
permissions:
contents: read
packages: read
statuses: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0
- name: Super-linter
uses: super-linter/super-linter@v6.3.1
env:
# To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.MyGitHubToken }}