From fd35dfa02a88978d1212a9e504b35ba2db4c9005 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Wed, 22 Jan 2025 14:44:39 +0100 Subject: [PATCH 1/4] MAINT: update `actions/checkout` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c6a0097..964817d 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ jobs: name: pre-commit autoupdate runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Check if there are changes to pre-commit config From cab1643efec600546a06baf1c33b4673ffc41580 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Wed, 22 Jan 2025 14:45:25 +0100 Subject: [PATCH 2/4] MAINT: update pr-linting workflow --- .github/workflows/pr-linting.yml | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/.github/workflows/pr-linting.yml b/.github/workflows/pr-linting.yml index 5dc53c7..44dc9e4 100644 --- a/.github/workflows/pr-linting.yml +++ b/.github/workflows/pr-linting.yml @@ -10,24 +10,5 @@ on: - unlabeled jobs: - check-labels: - name: Check labels - runs-on: ubuntu-24.04 - steps: - - uses: docker://agilepathway/pull-request-label-checker:latest - with: - any_of: >- - 🐛 Bug,✨ Feature,⚙️ Enhancement,⚠️ Interface,❗ Behavior,📝 Docs,🔨 Maintenance,🖱️ DX - none_of: Epic,💫 Good first issue - repo_token: ${{ secrets.GITHUB_TOKEN }} - - check-title: - name: Check title - runs-on: ubuntu-24.04 - steps: - - uses: actions/checkout@v4 - - run: npm install @compwa/commitlint-config - - name: Create commitlint config - run: | - echo "module.exports = {extends: ['@compwa/commitlint-config']}" > commitlint.config.js - - uses: JulienKode/pull-request-name-linter-action@v0.5.0 + lint-pr: + uses: ComPWA/actions/.github/workflows/pr-linting.yml@v2 From fa6230af91bc725445b5bb333868360348cf09c0 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Wed, 22 Jan 2025 14:46:43 +0100 Subject: [PATCH 3/4] MAINT: update CD workflow --- .github/workflows/cd.yml | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index d130988..bd8afb8 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -9,25 +9,8 @@ on: jobs: milestone: if: startsWith(github.ref, 'refs/tags') - uses: ComPWA/actions/.github/workflows/close-milestone.yml@v1 - push-to-version-branches: - name: Push to version branches + uses: ComPWA/actions/.github/workflows/close-milestone.yml@v2 + push: if: startsWith(github.ref, 'refs/tags') && !github.event.release.prerelease - runs-on: ubuntu-24.04 - steps: - - uses: actions/checkout@v4 - - name: Configure Git credentials - run: | - git config --global user.name "GitHub Action" - git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" - - name: Push to matching minor version branch - env: - TAG: ${{ github.ref_name }} - run: | - re='^(v?)([0-9]+)\.([0-9]+)\.[0-9]+' - if [[ $TAG =~ $re ]]; then - MAJOR_VERSION="${BASH_REMATCH[2]}" - MINOR_VERSION="${BASH_REMATCH[2]}.${BASH_REMATCH[3]}" - git push origin HEAD:refs/heads/v$MAJOR_VERSION --force - git push origin HEAD:refs/heads/v$MINOR_VERSION --force - fi + secrets: inherit + uses: ComPWA/actions/.github/workflows/push-to-version-branches.yml@v2 From da893c3909690fc36362a49d0ec0fcf92b91ad25 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Wed, 22 Jan 2025 14:47:13 +0100 Subject: [PATCH 4/4] DX: add Dependabot config --- .github/dependabot.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/dependabot.yaml diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml new file mode 100644 index 0000000..912a197 --- /dev/null +++ b/.github/dependabot.yaml @@ -0,0 +1,17 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: "/" + assignees: + - redeboer + - shenvitor + commit-message: + prefix: MAINT + groups: + actions: + patterns: + - "*" + labels: + - 🔨 Maintenance + schedule: + interval: monthly