Skip to content

Bump step-security/harden-runner from 2.7.1 to 2.8.0 #550

Bump step-security/harden-runner from 2.7.1 to 2.8.0

Bump step-security/harden-runner from 2.7.1 to 2.8.0 #550

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@f086349bfa2bd1361f7909c78558e816508cdc10 # v1
with:
egress-policy: block
disable-telemetry: true
allowed-endpoints:
api.github.com:443
github.com:443
proxy.golang.org:443
pypi.org:443
zrdfepirv2blaprdstr01a.blob.core.windows.net:443
- name: Checkout Code
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # 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@4e51915f4a812abf59fed160bb14595c0a38a9e7 # 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