mirror of
https://github.com/prometheus-community/windows_exporter
synced 2025-01-30 11:24:30 +00:00
bf181eee38
`build` job was redundant for PRs and pushes to `master` branch, as `go build` is run in the e2e job. Linting jobs only need to be run for code changes, and were unnecessarily extending CI duration for documentation changes. Signed-off-by: Ben Reedy <breed808@breed808.com>
27 lines
587 B
YAML
27 lines
587 B
YAML
name: Spell checking
|
|
|
|
# Trigger on pull requests, and pushes to master branch.
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
env:
|
|
PROMU_VER: 'v0.13.0'
|
|
|
|
jobs:
|
|
codespell:
|
|
name: Check for spelling errors
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: codespell-project/actions-codespell@master
|
|
with:
|
|
check_filenames: true
|
|
# When using this Action in other repos, the --skip option below can be removed
|
|
skip: ./.git,go.mod,go.sum
|
|
ignore_words_list: calle
|