-
-
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@63c24ba6bd7ba022e95695ff85de572c04a18142
with:
egress-policy: block
allowed-endpoints: >
github.com:443
objects.githubusercontent.com:443
env:
USER: runner
- name: Checkout Actions Repository
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v2
- name: Check spelling
uses: crate-ci/typos@bcafd462cb07ef7ba57e34abf458fe20767e808b # master
with:
config: ${{github.workspace}}/_typos.toml