Only run code-spell on our main branches

PiperOrigin-RevId: 509616839
pull/11947/head
Mike Kruskal 2 years ago committed by Copybara-Service
parent 1de344fcd1
commit 0c21b63cb7
  1. 11
      .github/workflows/codespell.yml

@ -2,7 +2,16 @@
# https://github.com/codespell-project/actions-codespell # https://github.com/codespell-project/actions-codespell
# https://github.com/codespell-project/codespell # https://github.com/codespell-project/codespell
name: codespell name: codespell
on: [push, pull_request] on:
push:
branches:
- main
- '[0-9]+.x'
pull_request:
branches:
- main
- '[0-9]+.x'
permissions: permissions:
contents: read # to fetch code (actions/checkout) contents: read # to fetch code (actions/checkout)
jobs: jobs:

Loading…
Cancel
Save