1
0
mirror of synced 2025-12-19 09:50:46 -05:00
Files
core/.github/workflows/super-linter.yml
Jeff Handley 5d3e41fafb Onboard the dotnet/issue-labeler for 'area-' label prediction on issues (#9889)
* [Issue-Labeler] Configure labeler-train.yml

Configure the issue-labeler training workflow.
- Imported the workflow template
- Removed inputs, jobs, and conditions related to pull requests, as we will only use the labeler for issues in this repository

* [Issue-Labeler] Configure labeler-promote.yml

Configure the issue-labeler promotion workflow.
- Imported the workflow template
- Removed input and job for pull requests, as we will only use the labeler for issues in this repository

* [Issue-Labeler] Configure labeler-predict-issues.yml

Configure the issue-labeler issue prediction workflow.
- Imported the workflow template
- Removed the excluded_authors input

* [Issue-Labeler] Configure labeler-cache-retention.yml

Configure the issue-labeler cache retention workflow.
- Imported the workflow template
- Removed config related to pull requests, as we will only use the labeler for issues in this repository

* [Issue-Labeler] Add labeler onboarding/configuration doc

* Bump superlinter to v7 (via SHA) to get type:number support in GitHub workflows

* Address CHECKOV lint errors in GitHub workflows

* Ignore GitHub workflow files from prettier

* Explicitly set workflow permissions

* Comment that UTC is used for cron schedule
2025-06-23 15:00:12 -07:00

36 lines
1.0 KiB
YAML

# This workflow executes several linters on changed files based on languages used in your code base whenever
# you push a code or open a pull request.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/github/super-linter
name: Lint Code Base
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
run-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
- name: Lint Code Base
uses: github/super-linter@b807e99ddd37e444d189cfd2c2ca1274d8ae8ef1 # v7
env:
VALIDATE_ALL_CODEBASE: false
VALIDATE_JSCPD: false
VALIDATE_NATURAL_LANGUAGE: false
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}