From 37cd9374f85a7cf4efa752cb995576fb11fc3702 Mon Sep 17 00:00:00 2001 From: AusAgentSmith Date: Mon, 6 Apr 2026 20:26:29 +1000 Subject: [PATCH 1/3] ci: add Dependabot configuration --- .github/dependabot.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..7526c92 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,22 @@ +version: 2 +updates: + - package-ecosystem: cargo + directory: / + schedule: + interval: weekly + day: monday + open-pull-requests-limit: 10 + groups: + rust-dependencies: + patterns: + - "*" + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly + day: monday + open-pull-requests-limit: 5 + groups: + github-actions: + patterns: + - "*" From e09053ce3428c66e0e1a676268eebcc6e41b7cd2 Mon Sep 17 00:00:00 2001 From: AusAgentSmith Date: Mon, 6 Apr 2026 20:26:31 +1000 Subject: [PATCH 2/3] =?UTF-8?q?ci:=20add=20Dependabot=20=E2=86=92=20Linear?= =?UTF-8?q?=20integration=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/dependabot-linear.yml | 41 +++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/dependabot-linear.yml diff --git a/.github/workflows/dependabot-linear.yml b/.github/workflows/dependabot-linear.yml new file mode 100644 index 0000000..67e5ff3 --- /dev/null +++ b/.github/workflows/dependabot-linear.yml @@ -0,0 +1,41 @@ +name: Dependabot Linear Integration + +on: + pull_request: + types: [opened] + +permissions: + pull-requests: read + +jobs: + create-linear-issue: + if: github.actor == 'dependabot[bot]' + runs-on: ubuntu-latest + steps: + - name: Create Linear Issue + env: + LINEAR_API_KEY: ${{ secrets.LINEAR_API_TOKEN }} + PR_TITLE: ${{ github.event.pull_request.title }} + PR_URL: ${{ github.event.pull_request.html_url }} + PR_BODY: ${{ github.event.pull_request.body }} + REPO_NAME: ${{ github.event.repository.name }} + run: | + DESCRIPTION="**Dependabot PR:** ${PR_URL} + + **Repository:** ${REPO_NAME} + + ${PR_BODY}" + + # Escape for JSON + TITLE=$(echo "$PR_TITLE" | jq -Rs '.') + DESC=$(echo "$DESCRIPTION" | jq -Rs '.') + + curl -s -X POST https://api.linear.app/graphql \ + -H "Content-Type: application/json" \ + -H "Authorization: ${LINEAR_API_KEY}" \ + -d "{ + \"query\": \"mutation { issueCreate(input: { title: ${TITLE}, description: ${DESC}, + teamId: \"c2acb063-92b9-4d9f-ab23-0ced91983a97\", + labelIds: [\"0ee40789-158e-4b1c-93b3-3974e1b80117\"] + }) { success issue { id identifier url } } }" + }' From 2249b5ed907d8ae2c34bcb68c79985e5c999669f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Apr 2026 10:27:08 +0000 Subject: [PATCH 3/3] Build(deps): bump actions/checkout in the github-actions group Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 4 to 6 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 67d7e53..cb039fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: env: CARGO_NET_GIT_FETCH_WITH_CLI: "true" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: dtolnay/rust-toolchain@stable with: