Skip to content

Bump the github-actions group across 2 directories with 2 updates #4

Bump the github-actions group across 2 directories with 2 updates

Bump the github-actions group across 2 directories with 2 updates #4

Workflow file for this run

# SPDX-License-Identifier: Apache-2.0
name: Spellcheck
on:
pull_request:
branches:
- main
paths:
- '**.md'
- '.spellcheck*'
- '.github/workflows/spellcheck.ya?ml' # This workflow file
env:
LC_ALL: en_US.UTF-8
defaults:
run:
shell: bash
permissions:
contents: read
jobs:
spellcheck:
runs-on: ubuntu-latest
steps:
- name: "Harden Runner"
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
egress-policy: block
allowed-endpoints: >
*.archive.ubuntu.com:80
*.microsoft.com:443
api.github.com:443
esm.ubuntu.com:443
files.pythonhosted.org:443
github.com:443
pypi.org:443
raw.githubusercontent.com:443
release-assets.githubusercontent.com:443
releases.astral.sh:443
- name: 'Checkout'
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- name: 'Setup Python'
uses: ./.github/actions/python_setup
with:
python-version: 3.12
enable-cache: false
- name: 'Install aspell'
run: |
sudo apt-get update
sudo apt-get install -y aspell aspell-en
- name: 'Check spelling'
run: |
uvx -- pyspelling --config .spellcheck.yaml