mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-25 14:40:26 -05:00
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6 to 7. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: '7' 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@v7
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v7
|
|
with:
|
|
python-version: '3.12'
|
|
|
|
- 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
|