PR #5313 and #5314 Github Actions on pull requests
Posted: Sat Jan 01, 2022 5:28 pm
Hi,
The first PR adds automatic labeling based on the modified files in the PR. It only runs on opening or reopening of the PR.
The action is based on https://github.com/actions/labeler
To add or modify a label, the file has to be modified.
The second PR add automatic spellchecking on all modified files in the PR.
If a spelling error is found, it will be annotated in the "Files changed" tab. It uses the actions from https://github.com/codespell-project/actions-codespell and https://github.com/tj-actions/changed-files
False positives can be added to the file
To test both Actions, you can make a pull request in my github repo https://github.com/Floriansimmer/FreeCAD
Greetings,
Florian
The first PR adds automatic labeling based on the modified files in the PR. It only runs on opening or reopening of the PR.
The action is based on https://github.com/actions/labeler
To add or modify a label, the file
Code: Select all
.github/labels.yml
The second PR add automatic spellchecking on all modified files in the PR.
If a spelling error is found, it will be annotated in the "Files changed" tab. It uses the actions from https://github.com/codespell-project/actions-codespell and https://github.com/tj-actions/changed-files
False positives can be added to the file
Code: Select all
.github/codespellignore
To test both Actions, you can make a pull request in my github repo https://github.com/Floriansimmer/FreeCAD
Greetings,
Florian