Skip to content

gha: bump step-security/harden-runner from 2.9.1 to 2.10.0 (#556) #2104

gha: bump step-security/harden-runner from 2.9.1 to 2.10.0 (#556)

gha: bump step-security/harden-runner from 2.9.1 to 2.10.0 (#556) #2104

Workflow file for this run

## Linter GitHub Actions ##
name: Lint Code Base
# Documentation:
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
# Start the job on all push #
on:
push:
pull_request:
workflow_dispatch:
#concurrency:
# group: ${{ github.workflow }}
# cancel-in-progress: true
permissions: read-all
# Set the Job #
jobs:
build:
# Name the Job
name: Lint Code Base
# Set the agent to run on
runs-on: ubuntu-24.04
# Load all steps #
steps:
# Checkout the code base #
- name: Harden Runner
uses: step-security/harden-runner@446798f8213ac2e75931c1b0769676d927801858 # v1
with:
egress-policy: block
disable-telemetry: true
allowed-endpoints:
api.github.com:443
github.com:443
golang.org:443
proxy.golang.org:443
pypi.org:443
zrdfepirv2blaprdstr01a.blob.core.windows.net:443
- name: Checkout Code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v2
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
# Run Linter against code base #
- name: Lint Code Base
#uses: github/super-linter@b8641364ca9a79b3cf07f3c4c59a82709cd39094 # v4
uses: github/super-linter/slim@b807e99ddd37e444d189cfd2c2ca1274d8ae8ef1 # v4
#uses: docker://ghcr.io/github/super-linter:slim-v4
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JAVASCRIPT_DEFAULT_STYLE: prettier