Skip to content

alleyinteractive/action-test-general

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

action-test-general

General file system checks for Pull Requests.

Features

  • Checks for gitignored files that have been accidentally committed
  • Detects git conflicts in your codebase

Usage

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

Inputs

Specify using with keyword.

check-gitignore

  • (Optional) Check the code for files that should be ignored via .gitignore
  • Accepts a string (boolean).
  • Defaults to 'true'.

check-git-conflict

  • (Optional) Checks the code for git conflicts
  • Accepts a string (boolean).
  • Defaults to 'true'.

git-conflict-grep-options

  • (Optional) Additional string passed to git grep when checking for conflict markers
  • Accepts a string.
  • Defaults to "':!buddy.yml' ':!.buddy/*'"

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

This project is actively maintained by Alley Interactive.

License

The GNU General Public License (GPL) license. Please see License File for more information.⏎

About

General file system tests for Pull Requests

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •