Skip to content

GHA: misc maintenance #21

GHA: misc maintenance

GHA: misc maintenance #21

Workflow file for this run

# Copyright (C) Daniel Stenberg, <[email protected]>, et al.
#
# SPDX-License-Identifier: curl
name: 'Source'
'on':
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
permissions: {}
jobs:
linters:
name: 'spellcheck, linters'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- name: 'install prereqs'
run: /home/linuxbrew/.linuxbrew/bin/brew install zizmor typos-cli
- name: 'zizmor GHA'
env:
GH_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
run: |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
zizmor --pedantic .github/workflows/*.yml
- name: 'typos'
run: |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
typos --version
typos