General file system checks for Pull Requests.
- Checks for gitignored files that have been accidentally committed
- Detects git conflicts in your codebase
Example usage in a workflow:
name: Test General
on:
pull_request:
branches:
- main
types: [opened, synchronize, reopened, ready_for_review]
jobs:
php-tests:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Run general tests
uses: alleyinteractive/action-test-general@develop
Specify using
with
keyword.
- (Optional) Check the code for files that should be ignored via .gitignore
- Accepts a string (boolean).
- Defaults to
'true'
.
- (Optional) Checks the code for git conflicts
- Accepts a string (boolean).
- Defaults to
'true'
.
- (Optional) Additional string passed to git grep when checking for conflict markers
- Accepts a string.
- Defaults to
"':!buddy.yml' ':!.buddy/*'"
Please see CHANGELOG for more information on what has changed recently.
This project is actively maintained by Alley Interactive.
The GNU General Public License (GPL) license. Please see License File for more information.⏎