stage #2
37
.github/workflows/dbsql-lint.yml
vendored
37
.github/workflows/dbsql-lint.yml
vendored
@@ -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
.github/workflows/first-interaction.yml
vendored
29
.github/workflows/first-interaction.yml
vendored
@@ -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
.github/workflows/php-lint.yml
vendored
15
.github/workflows/php-lint.yml
vendored
@@ -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
|
||||
Reference in New Issue
Block a user