From f9b4648f1981db8d9fde83035db192b9ae310cf3 Mon Sep 17 00:00:00 2001 From: worgarside-dev Date: Sat, 8 Aug 2026 14:33:27 +0000 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=94=84=20synced=20file(s)=20with=20wo?= =?UTF-8?q?rgarside/github-config-files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/dependabot.yml | 6 ++-- .github/labeler.yml | 2 +- .github/repo_labels.yml | 9 ----- .github/workflows/auto-create-pr.yml | 21 +++++++++++ .github/workflows/ci_deployment.yml | 10 +++--- .github/workflows/ci_validation.yml | 4 +-- .github/workflows/manage-pr.yml | 44 ++++++++++++++++++++++++ .github/workflows/manage-repo-labels.yml | 18 ++++++++++ .github/workflows/set-pr-auto-merge.yml | 25 ++++++++++++++ 9 files changed, 119 insertions(+), 20 deletions(-) create mode 100644 .github/workflows/auto-create-pr.yml create mode 100644 .github/workflows/manage-pr.yml create mode 100644 .github/workflows/manage-repo-labels.yml create mode 100644 .github/workflows/set-pr-auto-merge.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index f8827a2..e2cac91 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,7 +4,7 @@ updates: - package-ecosystem: pip directory: / schedule: - interval: daily + interval: monthly open-pull-requests-limit: 20 reviewers: - worgarside @@ -12,13 +12,13 @@ updates: - package-ecosystem: github-actions directory: / schedule: - interval: daily + interval: monthly reviewers: - worgarside - package-ecosystem: npm directory: / schedule: - interval: daily + interval: monthly reviewers: - worgarside diff --git a/.github/labeler.yml b/.github/labeler.yml index 074a80e..6f41d25 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -13,7 +13,7 @@ labels: - label: dependencies files: - ^Pipfile\.lock$ - - ^poetry\.lock$ + - ^uv\.lock$ - ^requirements\.txt$ - label: dependencies diff --git a/.github/repo_labels.yml b/.github/repo_labels.yml index 6fa3cb3..e698c62 100644 --- a/.github/repo_labels.yml +++ b/.github/repo_labels.yml @@ -9,19 +9,10 @@ color: 8B4513 description: Regular code maintenance - - name: bot:delete-on-merge - description: Delete this branch after merging (bot command) - color: 8B0000 - - name: bot:do-not-close description: Do not close this PR, even if it's empty (bot command) color: 2C6AAB - - name: bot:keep-updated - from_name: keep-updated - description: Keep this PR updated from its base branch (bot command) - color: 87FAA6 - - name: dependencies description: Pull requests that update a dependency file color: 0366D6 diff --git a/.github/workflows/auto-create-pr.yml b/.github/workflows/auto-create-pr.yml new file mode 100644 index 0000000..4283d9c --- /dev/null +++ b/.github/workflows/auto-create-pr.yml @@ -0,0 +1,21 @@ +--- +name: Auto-Create PR + +on: + push: + branches-ignore: + - main + - dependabot/** + workflow_dispatch: + +jobs: + create-pr: + name: Create PR + # yamllint disable-line rule:line-length + uses: worgarside/github-config-files/.github/workflows/__create-pull-request.yml@0.3.0 + with: + base-ref-name: ${{ github.event.repository.default_branch }} + head-ref-name: ${{ github.ref_name }} + pr-draft: true + update-pr-body-if-exists: true + secrets: inherit diff --git a/.github/workflows/ci_deployment.yml b/.github/workflows/ci_deployment.yml index bea320a..ec7ddb0 100644 --- a/.github/workflows/ci_deployment.yml +++ b/.github/workflows/ci_deployment.yml @@ -9,9 +9,9 @@ on: jobs: ci-validation: name: 'CI: Validation' - uses: worgarside/github-config-files/.github/workflows/__ci_validation.yml@main + uses: worgarside/github-config-files/.github/workflows/__ci-validation.yml@0.3.0 with: - build-branch: ${{ github.ref }} + build-branch: '${{ github.ref }}' build-type: '' node-build-directory: '' python-version: '3.12' @@ -29,16 +29,16 @@ jobs: id-token: write contents: read pages: write - uses: worgarside/github-config-files/.github/workflows/__ci_deployment.yml@main + uses: worgarside/github-config-files/.github/workflows/__ci-deployment.yml@0.3.0 with: - build-branch: ${{ github.ref }} + build-branch: '${{ github.ref }}' build-type: '' deploy-to: '' deploy-documentation: '' node-build-directory: '' path-to-__version__-file: '' python-version: '3.12' - release-tag: ${{ needs.ci-validation.outputs.release-tag }} + release-tag: '${{ needs.ci-validation.outputs.release-tag }}' unit-test: '' update-pyproject-toml: 'true' update-json-file-path: '' diff --git a/.github/workflows/ci_validation.yml b/.github/workflows/ci_validation.yml index 874317d..93f976d 100644 --- a/.github/workflows/ci_validation.yml +++ b/.github/workflows/ci_validation.yml @@ -12,9 +12,9 @@ on: jobs: ci-validation: name: 'CI: Validation' - uses: worgarside/github-config-files/.github/workflows/__ci_validation.yml@main + uses: worgarside/github-config-files/.github/workflows/__ci-validation.yml@0.3.0 with: - build-branch: ${{ github.ref }} + build-branch: '${{ github.ref }}' build-type: '' node-build-directory: '' python-version: '3.12' diff --git a/.github/workflows/manage-pr.yml b/.github/workflows/manage-pr.yml new file mode 100644 index 0000000..36d8248 --- /dev/null +++ b/.github/workflows/manage-pr.yml @@ -0,0 +1,44 @@ +--- +name: Manage PR + +on: + pull_request: + types: + - labeled + - unlabeled + - opened + - reopened + - synchronize + - ready_for_review + - auto_merge_enabled + - auto_merge_disabled + +concurrency: + # yamllint disable-line rule:line-length + group: manage-pr-${{ github.event.pull_request.number }}-${{ github.event.action }} + cancel-in-progress: true + +jobs: + manage-pr-labels: + name: Manage PR Labels + uses: worgarside/github-config-files/.github/workflows/__manage-pr-labels.yml@0.3.0 + permissions: + contents: read + pull-requests: write + with: + head-ref: ${{ github.head_ref }} + pr-author: ${{ github.event.pull_request.user.login }} + pr-number: ${{ github.event.pull_request.number }} + secrets: inherit + + close-empty-pr: + name: Close Empty PR + uses: worgarside/github-config-files/.github/workflows/__close-empty-pr.yml@0.3.0 + if: github.event.pull_request.state == 'open' + permissions: + contents: read + pull-requests: write + with: + head-ref: ${{ github.head_ref }} + pr-number: ${{ github.event.pull_request.number }} + secrets: inherit diff --git a/.github/workflows/manage-repo-labels.yml b/.github/workflows/manage-repo-labels.yml new file mode 100644 index 0000000..5449700 --- /dev/null +++ b/.github/workflows/manage-repo-labels.yml @@ -0,0 +1,18 @@ +--- +name: Manage Repo Labels + +on: + push: + branches: + - main + paths: + - .github/repo_labels.yml + - .github/workflows/manage-repo-labels.yml + workflow_dispatch: + +jobs: + manage-repo-labels: + name: Manage Repo Labels + uses: worgarside/github-config-files/.github/workflows/__manage-repo-labels.yml@0.3.0 + permissions: + issues: write diff --git a/.github/workflows/set-pr-auto-merge.yml b/.github/workflows/set-pr-auto-merge.yml new file mode 100644 index 0000000..30dc459 --- /dev/null +++ b/.github/workflows/set-pr-auto-merge.yml @@ -0,0 +1,25 @@ +--- +name: Set PR Auto Merge + +# yamllint disable-line rule:truthy +on: + pull_request: + types: + - opened + - ready_for_review + +concurrency: + group: set-auto-merge-${{ github.event.pull_request.number }} + cancel-in-progress: true + +jobs: + set-auto-merge: + name: Set PR Auto Merge + if: ${{ !github.event.pull_request.draft }} + uses: worgarside/github-config-files/.github/workflows/__set-pr-auto-merge.yml@0.3.0 + with: + head-ref: ${{ github.head_ref }} + pr-html-url: ${{ github.event.pull_request.html_url }} + pr-number: ${{ github.event.pull_request.number }} + pr-title: ${{ github.event.pull_request.title }} + secrets: inherit From 5b14c38c6c1e9bd35099607138ee1ef87fa418e2 Mon Sep 17 00:00:00 2001 From: worgarside-dev Date: Sat, 8 Aug 2026 15:00:08 +0000 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=94=84=20synced=20file(s)=20with=20wo?= =?UTF-8?q?rgarside/github-config-files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/auto-create-pr.yml | 2 +- .github/workflows/ci_deployment.yml | 4 ++-- .github/workflows/ci_validation.yml | 2 +- .github/workflows/manage-pr.yml | 4 ++-- .github/workflows/manage-repo-labels.yml | 2 +- .github/workflows/set-pr-auto-merge.yml | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/auto-create-pr.yml b/.github/workflows/auto-create-pr.yml index 4283d9c..6ae0db2 100644 --- a/.github/workflows/auto-create-pr.yml +++ b/.github/workflows/auto-create-pr.yml @@ -12,7 +12,7 @@ jobs: create-pr: name: Create PR # yamllint disable-line rule:line-length - uses: worgarside/github-config-files/.github/workflows/__create-pull-request.yml@0.3.0 + uses: worgarside/github-config-files/.github/workflows/__create-pull-request.yml@0.3.2 with: base-ref-name: ${{ github.event.repository.default_branch }} head-ref-name: ${{ github.ref_name }} diff --git a/.github/workflows/ci_deployment.yml b/.github/workflows/ci_deployment.yml index ec7ddb0..5eeeca1 100644 --- a/.github/workflows/ci_deployment.yml +++ b/.github/workflows/ci_deployment.yml @@ -9,7 +9,7 @@ on: jobs: ci-validation: name: 'CI: Validation' - uses: worgarside/github-config-files/.github/workflows/__ci-validation.yml@0.3.0 + uses: worgarside/github-config-files/.github/workflows/__ci-validation.yml@0.3.2 with: build-branch: '${{ github.ref }}' build-type: '' @@ -29,7 +29,7 @@ jobs: id-token: write contents: read pages: write - uses: worgarside/github-config-files/.github/workflows/__ci-deployment.yml@0.3.0 + uses: worgarside/github-config-files/.github/workflows/__ci-deployment.yml@0.3.2 with: build-branch: '${{ github.ref }}' build-type: '' diff --git a/.github/workflows/ci_validation.yml b/.github/workflows/ci_validation.yml index 93f976d..94c10b8 100644 --- a/.github/workflows/ci_validation.yml +++ b/.github/workflows/ci_validation.yml @@ -12,7 +12,7 @@ on: jobs: ci-validation: name: 'CI: Validation' - uses: worgarside/github-config-files/.github/workflows/__ci-validation.yml@0.3.0 + uses: worgarside/github-config-files/.github/workflows/__ci-validation.yml@0.3.2 with: build-branch: '${{ github.ref }}' build-type: '' diff --git a/.github/workflows/manage-pr.yml b/.github/workflows/manage-pr.yml index 36d8248..8827727 100644 --- a/.github/workflows/manage-pr.yml +++ b/.github/workflows/manage-pr.yml @@ -21,7 +21,7 @@ concurrency: jobs: manage-pr-labels: name: Manage PR Labels - uses: worgarside/github-config-files/.github/workflows/__manage-pr-labels.yml@0.3.0 + uses: worgarside/github-config-files/.github/workflows/__manage-pr-labels.yml@0.3.2 permissions: contents: read pull-requests: write @@ -33,7 +33,7 @@ jobs: close-empty-pr: name: Close Empty PR - uses: worgarside/github-config-files/.github/workflows/__close-empty-pr.yml@0.3.0 + uses: worgarside/github-config-files/.github/workflows/__close-empty-pr.yml@0.3.2 if: github.event.pull_request.state == 'open' permissions: contents: read diff --git a/.github/workflows/manage-repo-labels.yml b/.github/workflows/manage-repo-labels.yml index 5449700..a4cec74 100644 --- a/.github/workflows/manage-repo-labels.yml +++ b/.github/workflows/manage-repo-labels.yml @@ -13,6 +13,6 @@ on: jobs: manage-repo-labels: name: Manage Repo Labels - uses: worgarside/github-config-files/.github/workflows/__manage-repo-labels.yml@0.3.0 + uses: worgarside/github-config-files/.github/workflows/__manage-repo-labels.yml@0.3.2 permissions: issues: write diff --git a/.github/workflows/set-pr-auto-merge.yml b/.github/workflows/set-pr-auto-merge.yml index 30dc459..120f14a 100644 --- a/.github/workflows/set-pr-auto-merge.yml +++ b/.github/workflows/set-pr-auto-merge.yml @@ -16,7 +16,7 @@ jobs: set-auto-merge: name: Set PR Auto Merge if: ${{ !github.event.pull_request.draft }} - uses: worgarside/github-config-files/.github/workflows/__set-pr-auto-merge.yml@0.3.0 + uses: worgarside/github-config-files/.github/workflows/__set-pr-auto-merge.yml@0.3.2 with: head-ref: ${{ github.head_ref }} pr-html-url: ${{ github.event.pull_request.html_url }} From 1e1616e6b5974fa78f430ee2ea5209b1ed5511c0 Mon Sep 17 00:00:00 2001 From: worgarside-dev Date: Sat, 8 Aug 2026 15:42:51 +0000 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=94=84=20synced=20file(s)=20with=20wo?= =?UTF-8?q?rgarside/github-config-files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/auto-create-pr.yml | 2 +- .github/workflows/ci_deployment.yml | 4 ++-- .github/workflows/ci_validation.yml | 2 +- .github/workflows/manage-pr.yml | 4 ++-- .github/workflows/manage-repo-labels.yml | 2 +- .github/workflows/set-pr-auto-merge.yml | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/auto-create-pr.yml b/.github/workflows/auto-create-pr.yml index 6ae0db2..f0e6cfd 100644 --- a/.github/workflows/auto-create-pr.yml +++ b/.github/workflows/auto-create-pr.yml @@ -12,7 +12,7 @@ jobs: create-pr: name: Create PR # yamllint disable-line rule:line-length - uses: worgarside/github-config-files/.github/workflows/__create-pull-request.yml@0.3.2 + uses: worgarside/github-config-files/.github/workflows/__create-pull-request.yml@0.3.3 with: base-ref-name: ${{ github.event.repository.default_branch }} head-ref-name: ${{ github.ref_name }} diff --git a/.github/workflows/ci_deployment.yml b/.github/workflows/ci_deployment.yml index 5eeeca1..03a511f 100644 --- a/.github/workflows/ci_deployment.yml +++ b/.github/workflows/ci_deployment.yml @@ -9,7 +9,7 @@ on: jobs: ci-validation: name: 'CI: Validation' - uses: worgarside/github-config-files/.github/workflows/__ci-validation.yml@0.3.2 + uses: worgarside/github-config-files/.github/workflows/__ci-validation.yml@0.3.3 with: build-branch: '${{ github.ref }}' build-type: '' @@ -29,7 +29,7 @@ jobs: id-token: write contents: read pages: write - uses: worgarside/github-config-files/.github/workflows/__ci-deployment.yml@0.3.2 + uses: worgarside/github-config-files/.github/workflows/__ci-deployment.yml@0.3.3 with: build-branch: '${{ github.ref }}' build-type: '' diff --git a/.github/workflows/ci_validation.yml b/.github/workflows/ci_validation.yml index 94c10b8..04d03ef 100644 --- a/.github/workflows/ci_validation.yml +++ b/.github/workflows/ci_validation.yml @@ -12,7 +12,7 @@ on: jobs: ci-validation: name: 'CI: Validation' - uses: worgarside/github-config-files/.github/workflows/__ci-validation.yml@0.3.2 + uses: worgarside/github-config-files/.github/workflows/__ci-validation.yml@0.3.3 with: build-branch: '${{ github.ref }}' build-type: '' diff --git a/.github/workflows/manage-pr.yml b/.github/workflows/manage-pr.yml index 8827727..c3abb46 100644 --- a/.github/workflows/manage-pr.yml +++ b/.github/workflows/manage-pr.yml @@ -21,7 +21,7 @@ concurrency: jobs: manage-pr-labels: name: Manage PR Labels - uses: worgarside/github-config-files/.github/workflows/__manage-pr-labels.yml@0.3.2 + uses: worgarside/github-config-files/.github/workflows/__manage-pr-labels.yml@0.3.3 permissions: contents: read pull-requests: write @@ -33,7 +33,7 @@ jobs: close-empty-pr: name: Close Empty PR - uses: worgarside/github-config-files/.github/workflows/__close-empty-pr.yml@0.3.2 + uses: worgarside/github-config-files/.github/workflows/__close-empty-pr.yml@0.3.3 if: github.event.pull_request.state == 'open' permissions: contents: read diff --git a/.github/workflows/manage-repo-labels.yml b/.github/workflows/manage-repo-labels.yml index a4cec74..82b223d 100644 --- a/.github/workflows/manage-repo-labels.yml +++ b/.github/workflows/manage-repo-labels.yml @@ -13,6 +13,6 @@ on: jobs: manage-repo-labels: name: Manage Repo Labels - uses: worgarside/github-config-files/.github/workflows/__manage-repo-labels.yml@0.3.2 + uses: worgarside/github-config-files/.github/workflows/__manage-repo-labels.yml@0.3.3 permissions: issues: write diff --git a/.github/workflows/set-pr-auto-merge.yml b/.github/workflows/set-pr-auto-merge.yml index 120f14a..4707749 100644 --- a/.github/workflows/set-pr-auto-merge.yml +++ b/.github/workflows/set-pr-auto-merge.yml @@ -16,7 +16,7 @@ jobs: set-auto-merge: name: Set PR Auto Merge if: ${{ !github.event.pull_request.draft }} - uses: worgarside/github-config-files/.github/workflows/__set-pr-auto-merge.yml@0.3.2 + uses: worgarside/github-config-files/.github/workflows/__set-pr-auto-merge.yml@0.3.3 with: head-ref: ${{ github.head_ref }} pr-html-url: ${{ github.event.pull_request.html_url }}