Skip to content

chore(deps): bump js-yaml from 4.1.0 to 4.1.1 #908

chore(deps): bump js-yaml from 4.1.0 to 4.1.1

chore(deps): bump js-yaml from 4.1.0 to 4.1.1 #908

Workflow file for this run

# This GitHub Actions workflow is named "black-formatter" and is triggered on push and pull request events.
# It has read permissions for repository contents.
#
# The workflow defines a single job named "black-linter" that runs on the latest Ubuntu runner.
#
# Steps:
# 1. Harden Runner:
# - Uses the "step-security/harden-runner" action (specific commit) to enhance security.
# - Disables sudo, blocks egress traffic, and allows specific endpoints (files.pythonhosted.org, github.com, pypi.org).
#
# 2. Checkout Code:
# - Uses the "actions/checkout" action (specific commit) to check out the repository code.
#
# 3. Run Black Formatter:
# - Uses the "psf/black" action (specific commit) to run the Black code formatter on the repository.
name: black-formatter
# Define the events that trigger this workflow
on:
push: # Trigger on push events
pull_request: # Trigger on pull request events
# Define permissions required for the workflow
permissions:
contents: read # Required to fetch repository contents
concurrency:
group: black-${{ github.ref }}
cancel-in-progress: false
jobs:
black-linter:
# Specify the runner to use (ubuntu-latest)
runs-on: ubuntu-latest
steps:
# Step to harden the runner for security purposes
- name: Harden Runner
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
with:
disable-sudo: true # Disable sudo to prevent privilege escalation
egress-policy: block # Block all egress traffic
allowed-endpoints: > # Allow specific endpoints for necessary traffic
files.pythonhosted.org:443
github.com:443
pypi.org:443
# Step to checkout the repository code
- name: Checkout Code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
# Step to run the Black code formatter
- name: Run Black Formatter
uses: psf/black@af0ba72a73598c76189d6dd1b21d8532255d5942 # stable