Skip to content

Commit

Permalink
Add workflow dispatch for php-linter
Browse files Browse the repository at this point in the history
  • Loading branch information
carlbennett committed Nov 24, 2024
1 parent 0023166 commit 5e7ec39
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/php-linter.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
# vim: set colorcolumn=:
name: php-linter

on: [push, pull_request]
on:
push:
pull_request:
workflow_dispatch:
inputs:
php_version:
description: "Specify the PHP version to use (e.g., 8.0, 8.1)"
required: false
default: '8.1'

env:
PHP_VERSION: '8.1'
PHP_VERSION: ${{ inputs.php_version || '8.1' }}

permissions:
contents: read
Expand Down

0 comments on commit 5e7ec39

Please sign in to comment.