Skip to content

actions: add static checks #6

actions: add static checks

actions: add static checks #6

Workflow file for this run

name: Static checkers and verifiers
on:
pull_request:
branches: [ main ]
push:
jobs:
simple_script_checkers:
runs-on: ubuntu-latest
name: Fetching changes
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 5
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@41
with:
since_last_remote_commit: true
- name: List all files changed
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
for file in "$ALL_CHANGED_FILES"; do
echo "$file was changed"
done