Skip to content

Commit

Permalink
checks: Fix some yamllint and markdownlint errors (#3656)
Browse files Browse the repository at this point in the history
Fixes some pre-commit yamllint and markdownlint errors which are check by pre-commit but not by CI.
  • Loading branch information
nilason committed Apr 27, 2024
1 parent 8a05d9f commit 01a06ec
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 27 deletions.
5 changes: 4 additions & 1 deletion .github/actions/create-upload-suggestions/action.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: "Create and upload suggestions"
description: "Creates a file containing changes applied by a tool"
author: echoix
Expand Down Expand Up @@ -217,7 +218,9 @@ runs:
run: |
{
echo ''
echo 'All fixed files are included in the '"${FORMATTED_URL}"' artifact. This artifact can be downloaded and copied to the repository to replace unformatted files with the formatted files.'
echo 'All fixed files are included in the '"${FORMATTED_URL}"' artifact. \
This artifact can be downloaded and copied to the repository to replace \
unformatted files with the formatted files.'
} >> "${GITHUB_STEP_SUMMARY}"
env:
FORMATTED_URL: >-
Expand Down
46 changes: 23 additions & 23 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,24 +111,24 @@ docker:
- .dockerignore

docs:
- all:
- changed-files:
- any-glob-to-any-file:
- doc/**
- man/**
- '**/*.md'
- '**/*.rst'
- '**/*.html'
- '**/*.dox'
- '**/*.png'
- '**.cff'
- CITING
- CHANGES
- AUTHORS
- NEWS
- TODO
- all-globs-to-all-files:
- '!doc/development/rfc/**'
- all:
- changed-files:
- any-glob-to-any-file:
- doc/**
- man/**
- '**/*.md'
- '**/*.rst'
- '**/*.html'
- '**/*.dox'
- '**/*.png'
- '**.cff'
- CITING
- CHANGES
- AUTHORS
- NEWS
- TODO
- all-globs-to-all-files:
- '!doc/development/rfc/**'
RFC:
- changed-files:
- any-glob-to-any-file:
Expand All @@ -141,14 +141,14 @@ translation:
Python:
- changed-files:
- any-glob-to-any-file:
- '**/*.py'
- '**/pyproject.toml'
- '**/*.py'
- '**/pyproject.toml'
notebook:
- changed-files:
- any-glob-to-any-file:
- '**/*.ipynb'
- doc/notebooks/**
- python/grass/jupyter/**
- '**/*.ipynb'
- doc/notebooks/**
- python/grass/jupyter/**
C:
- changed-files:
- any-glob-to-any-file: '**/*.c'
Expand Down
7 changes: 4 additions & 3 deletions doc/development/submitting/general.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,10 @@ done manually, you can take an advantage of our [​CI](https://github.com/OSGeo

Often there is more than one active release branch. You can also choose to backport
only to the closest branch. If you are backporting to other release branches than
just the closets one, make sure you always backport to all the branches between "main"
and the furthest branch you are backporting to. For example, let's say we have
release branches 3.6 and 3.5, if you backport to 3.5, you should backport to 3.6, too.
just the closets one, make sure you always backport to all the branches between
"main" and the furthest branch you are backporting to. For example, let's say we
have release branches 3.6 and 3.5, if you backport to 3.5, you should backport to
3.6, too.

Backport only complete fixes. When you are not sure if the fix is complete or if
there is an possibility that some details such as wording will change, wait with
Expand Down

0 comments on commit 01a06ec

Please sign in to comment.