Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/.github/workflows/ @d3vzer0
/.github/actions/ @d3vzer0
**/action.yml @d3vzer0
**/action.yaml @d3vzer0
44 changes: 43 additions & 1 deletion .github/workflows/syntax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@ on:
workflow_dispatch:

permissions:
contents: read
contents: write

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
Expand All @@ -35,3 +37,43 @@ jobs:
with:
name: test-report
path: test-report.md

build:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt

- name: Convert queries into single json
run: |
python utilities/python/convert.py ./queries ./Queries.json

- name: Configure Git
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"

- name: Commit if changed
run: |
git add ./Queries.json
if git diff --staged --quiet; then
echo "No changes to commit"
else
git commit -m "Update combined queries"
git push
fi
3,050 changes: 1,684 additions & 1,366 deletions Queries.json

Large diffs are not rendered by default.

Loading