Compare commits

...

6 Commits

Author SHA1 Message Date
ThaMunsta c50a6af408 Merge pull request 'stage' (#2) from stage into main
probably fine
2026-01-17 20:10:26 +00:00
ThaMunsta e7be82a533 Merge branch 'main' into stage 2026-01-17 20:10:07 +00:00
ThaMunsta 54ebb39f6e workflows that wont work for us ;) 2026-01-17 15:09:38 -05:00
ThaMunsta 1c95c576fc comment out htaccess setting that does not work on synology
SQL Syntax Check for db.sql / Check db.sql SQL Syntax (pull_request) Failing after 28s
PHPLint / build (pull_request) Successful in 16s
Welcome New Contributor / run (pull_request_target) Successful in 17s
2026-01-17 15:00:40 -05:00
ThaMunsta 526bea6eb4 fix permissions on cron 2025-11-10 09:49:58 -05:00
ThaMunsta 0ecce1ff11 Merge pull request 'stage' (#1) from stage into main
Reviewed-on: #1
2025-11-10 14:37:20 +00:00
5 changed files with 3 additions and 82 deletions
-37
View File
@@ -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;"
-29
View File
@@ -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.
-15
View File
@@ -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
+2
View File
@@ -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
View File
@@ -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)$">