We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0023166 commit 5e7ec39Copy full SHA for 5e7ec39
.github/workflows/php-linter.yml
@@ -1,10 +1,18 @@
1
# vim: set colorcolumn=:
2
name: php-linter
3
4
-on: [push, pull_request]
+on:
5
+ push:
6
+ pull_request:
7
+ workflow_dispatch:
8
+ inputs:
9
+ php_version:
10
+ description: "Specify the PHP version to use (e.g., 8.0, 8.1)"
11
+ required: false
12
+ default: '8.1'
13
14
env:
- PHP_VERSION: '8.1'
15
+ PHP_VERSION: ${{ inputs.php_version || '8.1' }}
16
17
permissions:
18
contents: read
0 commit comments