-
-
Notifications
You must be signed in to change notification settings - Fork 4
37 lines (33 loc) · 969 Bytes
/
spell-check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# SPDX-FileCopyrightText: 2023 MTRNord
#
# SPDX-License-Identifier: CC0-1.0
name: Spell Check
on:
push:
branches:
- "main"
pull_request:
# Declare default permissions as read only.
permissions: read-all
jobs:
run:
permissions:
contents: read # for actions/checkout to fetch code
name: Spell Check with Typos
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@1b05615854632b887b69ae1be8cbefe72d3ae423
with:
egress-policy: block
allowed-endpoints: >
github.com:443
objects.githubusercontent.com:443
env:
USER: runner
- name: Checkout Actions Repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v2
- name: Check spelling
uses: crate-ci/typos@47dd2976043bd5c76a33aa9300b328a176a1d6f7 # master
with:
config: ${{github.workspace}}/_typos.toml