Skip to content

chore: use SHAs in GitHub Actions and pull_request_target for releases #42

chore: use SHAs in GitHub Actions and pull_request_target for releases

chore: use SHAs in GitHub Actions and pull_request_target for releases #42

Workflow file for this run

---
name: Lint Code Base
on:
pull_request:
branches: main
permissions:
contents: read
jobs:
build:
name: Lint Code Base
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
statuses: write
steps:
- name: Checkout Code
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 0
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r requirements-test.txt
- name: Lint Code Base
uses: super-linter/super-linter@56576d491db07c7236b445ab09991ca49d12b0c6
env:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_ACTIONS_COMMAND_ARGS: -shellcheck=