From da4bcf526dd76a30f8838cb86df00e86370c38fb Mon Sep 17 00:00:00 2001 From: EnVy Date: Wed, 29 Jul 2026 00:11:21 -0500 Subject: [PATCH 1/3] migrate to central workflows --- .github/workflows/quality.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/quality.yml diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml new file mode 100644 index 0000000..c696535 --- /dev/null +++ b/.github/workflows/quality.yml @@ -0,0 +1,29 @@ +name: quality + +on: + pull_request: + push: + branches: + - "main" + schedule: + - cron: "17 4 * * 1" + workflow_dispatch: + +permissions: + actions: read + contents: write + security-events: write + +jobs: + quality: + uses: EnVisione/.github/.github/workflows/quality.yml@main + with: + java-version: "21" + gradle-enabled: false + gradle-tasks: "check build" + gametest-tasks: "" + node-enabled: false + node-version: "22" + codeql-languages: '[]' + native-security: true + enforce-docs-layout: false From a3ac5c0309bd9b2263f7dcb95acf129700c9b62c Mon Sep 17 00:00:00 2001 From: EnVy Date: Wed, 29 Jul 2026 01:09:17 -0500 Subject: [PATCH 2/3] migrate to central workflows --- .github/workflows/quality.yml | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index c696535..6ffbb8d 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -9,21 +9,25 @@ on: - cron: "17 4 * * 1" workflow_dispatch: -permissions: - actions: read - contents: write - security-events: write - jobs: - quality: - uses: EnVisione/.github/.github/workflows/quality.yml@main + pull-request: + if: ${{ github.event_name == 'pull_request' }} + permissions: + actions: read + contents: read + uses: EnVisione/.github/.github/workflows/quality.yml@a955c949ac1e02c4311c683548f0ebd58ade9db5 + with: + shared-ref: "a955c949ac1e02c4311c683548f0ebd58ade9db5" + native-security: true + enforce-docs-layout: false + + trusted: + if: ${{ github.event_name != 'pull_request' }} + permissions: + actions: read + contents: read + uses: EnVisione/.github/.github/workflows/quality.yml@a955c949ac1e02c4311c683548f0ebd58ade9db5 with: - java-version: "21" - gradle-enabled: false - gradle-tasks: "check build" - gametest-tasks: "" - node-enabled: false - node-version: "22" - codeql-languages: '[]' + shared-ref: "a955c949ac1e02c4311c683548f0ebd58ade9db5" native-security: true enforce-docs-layout: false From 82955ac745b656f4b23ead52548bc6cb7036835f Mon Sep 17 00:00:00 2001 From: EnVy Date: Wed, 29 Jul 2026 01:21:17 -0500 Subject: [PATCH 3/3] migrate to central workflows --- .github/workflows/quality.yml | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index 6ffbb8d..04c6c2f 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -10,24 +10,12 @@ on: workflow_dispatch: jobs: - pull-request: - if: ${{ github.event_name == 'pull_request' }} + quality: permissions: actions: read contents: read - uses: EnVisione/.github/.github/workflows/quality.yml@a955c949ac1e02c4311c683548f0ebd58ade9db5 + uses: EnVisione/.github/.github/workflows/quality.yml@52eb01f2a9d378693156c88e03e41dcb9f5e25bb with: - shared-ref: "a955c949ac1e02c4311c683548f0ebd58ade9db5" - native-security: true - enforce-docs-layout: false - - trusted: - if: ${{ github.event_name != 'pull_request' }} - permissions: - actions: read - contents: read - uses: EnVisione/.github/.github/workflows/quality.yml@a955c949ac1e02c4311c683548f0ebd58ade9db5 - with: - shared-ref: "a955c949ac1e02c4311c683548f0ebd58ade9db5" + shared-ref: "52eb01f2a9d378693156c88e03e41dcb9f5e25bb" native-security: true enforce-docs-layout: false