mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-01 08:38:00 -06:00
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 7 to 8. - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](https://github.com/peter-evans/create-pull-request/compare/v7...v8) --- updated-dependencies: - dependency-name: peter-evans/create-pull-request dependency-version: '8' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
43 lines
997 B
YAML
43 lines
997 B
YAML
name: Spell Check
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 2 * * *' # Run daily at 2 AM UTC
|
|
workflow_dispatch: # Allow manual triggering
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v6
|
|
with:
|
|
python-version: '3.10'
|
|
|
|
- name: Install codespell
|
|
run: pip install codespell
|
|
|
|
- name: Run codespell and apply fixes
|
|
run: |
|
|
codespell \
|
|
--write-changes \
|
|
ApplicationExeCode/ \
|
|
ApplicationLibCode/ \
|
|
Fwk/AppFwk/ \
|
|
GrpcInterface/ \
|
|
|| true
|
|
|
|
- uses: peter-evans/create-pull-request@v8
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
commit-message: "Fixes by codespell"
|
|
title: "Typos fix by codespell"
|
|
branch: spell-check-patches
|
|
branch-suffix: random
|