Compare commits
6 Commits
dd92bef63c
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| c50a6af408 | |||
| e7be82a533 | |||
| 54ebb39f6e | |||
| 1c95c576fc | |||
| 526bea6eb4 | |||
| 0ecce1ff11 |
@@ -1,37 +0,0 @@
|
||||
name: SQL Syntax Check for db.sql
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'db.sql'
|
||||
|
||||
jobs:
|
||||
syntax_check:
|
||||
name: Check db.sql SQL Syntax
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
services:
|
||||
mariadb:
|
||||
image: mariadb:latest
|
||||
ports:
|
||||
- "3306:3306"
|
||||
env:
|
||||
MYSQL_RANDOM_ROOT_PASSWORD: "yes"
|
||||
MARIADB_USER: user
|
||||
MARIADB_PASSWORD: password
|
||||
MARIADB_DATABASE: itfsyntaxdb
|
||||
options: >-
|
||||
--health-cmd="healthcheck.sh --connect --innodb_initialized"
|
||||
--health-interval=10s
|
||||
--health-timeout=5s
|
||||
--health-retries=3
|
||||
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Import & Lint db.sql
|
||||
run: mysql --host 127.0.0.1 -uuser -ppassword itfsyntaxdb < db.sql
|
||||
|
||||
- name: Show imported tables
|
||||
run: mysql --host 127.0.0.1 -uuser -ppassword itfsyntaxdb -e "show tables;"
|
||||
@@ -1,29 +0,0 @@
|
||||
name: Welcome New Contributor
|
||||
|
||||
on:
|
||||
issues:
|
||||
types: [opened]
|
||||
pull_request_target:
|
||||
types: [opened]
|
||||
|
||||
jobs:
|
||||
run:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/first-interaction@v1.2.0
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
issue-message: |
|
||||
Hello & Welcome! :)
|
||||
|
||||
Thanks for taking the time to get in touch.
|
||||
|
||||
We ask that all bugs/feature/support requests are raised via the [forum](https://forum.itflow.org). We'll be in touch shortly to confirm.
|
||||
pr-message: |
|
||||
Hello & Welcome! :)
|
||||
|
||||
Thanks for taking the time to help improve ITFlow. We're excited to review your contributions - we'll review this PR as soon as we can!
|
||||
|
||||
Whilst you're waiting, please feel free to check out the [forum](https://forum.itflow.org).
|
||||
|
||||
Just so you know, all contributions to ITFlow are licensed under the GNU GPL. By contributing you grant us a perpetual & irrevocable license to include your work in ITFlow.
|
||||
@@ -1,15 +0,0 @@
|
||||
|
||||
name: PHPLint
|
||||
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Check PHP syntax errors
|
||||
uses: overtrue/phplint@9.4.1
|
||||
@@ -1,3 +1,5 @@
|
||||
<FilesMatch "\.(php)$">
|
||||
Require all denied
|
||||
Require ip 172.16.0.0/12
|
||||
Require ip 192.168.1.0/24
|
||||
</FilesMatch>
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
Options -ExecCGI
|
||||
php_flag engine off
|
||||
# php_flag engine off
|
||||
RemoveHandler .php .phtml .phar .phps
|
||||
RemoveType .php .phtml .phar .phps
|
||||
<FilesMatch "\.(php|phtml|phar|phps|cgi|pl|sh)$">
|
||||
|
||||
Reference in New Issue
Block a user