[GSoC2024] Added feature to show tags corresponding to GT job and manual job in a separate row #10043
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: StyleLint | |
on: pull_request | |
jobs: | |
Linter: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '16.x' | |
- id: files | |
uses: tj-actions/changed-files@v41.0.0 | |
with: | |
files: | | |
**/*.css | |
**/*.scss | |
- name: Run checks | |
run: | | |
CHANGED_FILES="${{steps.files.outputs.all_changed_files}}" | |
if [[ ! -z $CHANGED_FILES ]]; then | |
yarn install --frozen-lockfile | |
echo "StyleLint version: "$(npx stylelint --version) | |
echo "The files will be checked: "$(echo $CHANGED_FILES) | |
npx stylelint $CHANGED_FILES | |
else | |
echo "No files with the \"css|scss\" extension found" | |
fi |