mirror of
https://github.com/freemkv/freemkv-keysources.git
synced 2026-10-07 18:13:11 +00:00
ci: monthly grouped dependabot; actions/checkout 7
Dependabot runs monthly with grouped version updates. actions/checkout 5 -> 7 in ci, qa and release (#13).
This commit is contained in:
+31
-50
@@ -1,52 +1,33 @@
|
|||||||
|
# Version updates are monthly and grouped into one PR per ecosystem.
|
||||||
|
# Security updates are separate and run whenever an advisory is published.
|
||||||
version: 2
|
version: 2
|
||||||
|
|
||||||
# Dependency updates land on `dev`, never on `main`.
|
|
||||||
#
|
|
||||||
# `main` here is a RELEASE POINTER that freemkv's release-orchestrate.yml
|
|
||||||
# moves to each tag. A bot commit on it would put work there that no tag
|
|
||||||
# contains, which is exactly the state that aborted the 1.6.2 cascade at the
|
|
||||||
# last step -- so pointing Dependabot at main would recreate that failure on a
|
|
||||||
# schedule.
|
|
||||||
updates:
|
updates:
|
||||||
- package-ecosystem: cargo
|
- package-ecosystem: cargo
|
||||||
directory: /
|
directory: /
|
||||||
target-branch: dev
|
target-branch: dev
|
||||||
schedule:
|
schedule:
|
||||||
interval: weekly
|
interval: monthly
|
||||||
open-pull-requests-limit: 5
|
open-pull-requests-limit: 5
|
||||||
# One PR per week for the routine bumps instead of one per crate.
|
groups:
|
||||||
groups:
|
all:
|
||||||
minor-and-patch:
|
patterns:
|
||||||
update-types:
|
- '*'
|
||||||
- minor
|
ignore:
|
||||||
- patch
|
- dependency-name: freemkv-unlock
|
||||||
ignore:
|
- dependency-name: libfreemkv
|
||||||
# The freemkv crates depend on each other by GIT TAG, re-pinned by
|
- dependency-name: freemkv-keysources
|
||||||
# release-orchestrate.yml in the release commit. A bot bump would fight
|
- dependency-name: freemkv-i18n
|
||||||
# the release cascade and could pin a tag that does not exist yet.
|
- dependency-name: freemkv-engine
|
||||||
- dependency-name: freemkv-unlock
|
- package-ecosystem: github-actions
|
||||||
- dependency-name: libfreemkv
|
directory: /
|
||||||
- dependency-name: freemkv-keysources
|
target-branch: dev
|
||||||
- dependency-name: freemkv-i18n
|
schedule:
|
||||||
- dependency-name: freemkv-engine
|
interval: monthly
|
||||||
|
open-pull-requests-limit: 5
|
||||||
- package-ecosystem: github-actions
|
groups:
|
||||||
directory: /
|
all:
|
||||||
target-branch: dev
|
patterns:
|
||||||
schedule:
|
- '*'
|
||||||
interval: weekly
|
ignore:
|
||||||
open-pull-requests-limit: 5
|
- dependency-name: dtolnay/rust-toolchain
|
||||||
groups:
|
- dependency-name: freemkv/.github*
|
||||||
actions:
|
|
||||||
update-types:
|
|
||||||
- minor
|
|
||||||
- patch
|
|
||||||
ignore:
|
|
||||||
# Versioned by the Rust release it installs; CI picks the toolchain via
|
|
||||||
# `toolchain:` on @master/@stable. Dependabot proposes Rust versions that
|
|
||||||
# do not exist. Toolchain bumps are a deliberate all-repo change.
|
|
||||||
- dependency-name: dtolnay/rust-toolchain
|
|
||||||
# The org's own reusable workflows/actions. @v1 and @v2 are independent
|
|
||||||
# moving tags (v2 is only the comment guard), not semver releases: a
|
|
||||||
# "bump" from v1 to v2 would move a caller onto an OLDER guard.
|
|
||||||
- dependency-name: "freemkv/.github*"
|
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ jobs:
|
|||||||
outputs:
|
outputs:
|
||||||
v: ${{ steps.msrv.outputs.v }}
|
v: ${{ steps.msrv.outputs.v }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v7
|
||||||
- id: msrv
|
- id: msrv
|
||||||
shell: bash
|
shell: bash
|
||||||
run: echo "v=$(grep -m1 '^rust-version' Cargo.toml | sed -E 's/.*\"([^\"]+)\".*/\1/')" >> "$GITHUB_OUTPUT"
|
run: echo "v=$(grep -m1 '^rust-version' Cargo.toml | sed -E 's/.*\"([^\"]+)\".*/\1/')" >> "$GITHUB_OUTPUT"
|
||||||
@@ -67,7 +67,7 @@ jobs:
|
|||||||
changelog:
|
changelog:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v7
|
||||||
- name: Require a CHANGELOG entry for the crate version on main
|
- name: Require a CHANGELOG entry for the crate version on main
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
@@ -88,7 +88,7 @@ jobs:
|
|||||||
needs: resolve-msrv
|
needs: resolve-msrv
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v7
|
||||||
with:
|
with:
|
||||||
path: freemkv-keysources
|
path: freemkv-keysources
|
||||||
- uses: freemkv/.github/.github/actions/checkout-siblings@v1
|
- uses: freemkv/.github/.github/actions/checkout-siblings@v1
|
||||||
@@ -119,7 +119,7 @@ jobs:
|
|||||||
needs: resolve-msrv
|
needs: resolve-msrv
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v7
|
||||||
with:
|
with:
|
||||||
path: freemkv-keysources
|
path: freemkv-keysources
|
||||||
- uses: freemkv/.github/.github/actions/checkout-siblings@v1
|
- uses: freemkv/.github/.github/actions/checkout-siblings@v1
|
||||||
@@ -143,7 +143,7 @@ jobs:
|
|||||||
deny:
|
deny:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v7
|
||||||
with:
|
with:
|
||||||
path: freemkv-keysources
|
path: freemkv-keysources
|
||||||
- uses: freemkv/.github/.github/actions/checkout-siblings@v1
|
- uses: freemkv/.github/.github/actions/checkout-siblings@v1
|
||||||
@@ -176,7 +176,7 @@ jobs:
|
|||||||
if: github.ref_name == 'qa' || github.ref_name == 'main'
|
if: github.ref_name == 'qa' || github.ref_name == 'main'
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v7
|
||||||
with:
|
with:
|
||||||
path: freemkv-keysources
|
path: freemkv-keysources
|
||||||
- uses: freemkv/.github/.github/actions/checkout-siblings@v1
|
- uses: freemkv/.github/.github/actions/checkout-siblings@v1
|
||||||
@@ -203,7 +203,7 @@ jobs:
|
|||||||
needs: resolve-msrv
|
needs: resolve-msrv
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v7
|
||||||
with:
|
with:
|
||||||
path: freemkv-keysources
|
path: freemkv-keysources
|
||||||
- uses: freemkv/.github/.github/actions/checkout-siblings@v1
|
- uses: freemkv/.github/.github/actions/checkout-siblings@v1
|
||||||
@@ -244,7 +244,7 @@ jobs:
|
|||||||
if: github.ref_name == 'qa' || github.ref_name == 'main'
|
if: github.ref_name == 'qa' || github.ref_name == 'main'
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v7
|
||||||
with:
|
with:
|
||||||
path: freemkv-keysources
|
path: freemkv-keysources
|
||||||
- uses: freemkv/.github/.github/actions/checkout-siblings@v1
|
- uses: freemkv/.github/.github/actions/checkout-siblings@v1
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ jobs:
|
|||||||
outputs:
|
outputs:
|
||||||
v: ${{ steps.msrv.outputs.v }}
|
v: ${{ steps.msrv.outputs.v }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v7
|
||||||
- id: msrv
|
- id: msrv
|
||||||
shell: bash
|
shell: bash
|
||||||
run: echo "v=$(grep -m1 '^rust-version' Cargo.toml | sed -E 's/.*\"([^\"]+)\".*/\1/')" >> "$GITHUB_OUTPUT"
|
run: echo "v=$(grep -m1 '^rust-version' Cargo.toml | sed -E 's/.*\"([^\"]+)\".*/\1/')" >> "$GITHUB_OUTPUT"
|
||||||
@@ -61,7 +61,7 @@ jobs:
|
|||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v7
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Stamp the next rc
|
- name: Stamp the next rc
|
||||||
@@ -90,7 +90,7 @@ jobs:
|
|||||||
os: ['ubuntu-latest', 'macos-latest']
|
os: ['ubuntu-latest', 'macos-latest']
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v7
|
||||||
with:
|
with:
|
||||||
path: freemkv-keysources
|
path: freemkv-keysources
|
||||||
- uses: freemkv/.github/.github/actions/checkout-siblings@v1
|
- uses: freemkv/.github/.github/actions/checkout-siblings@v1
|
||||||
@@ -113,7 +113,7 @@ jobs:
|
|||||||
cross-lint:
|
cross-lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v7
|
||||||
with:
|
with:
|
||||||
path: freemkv-keysources
|
path: freemkv-keysources
|
||||||
- uses: freemkv/.github/.github/actions/checkout-siblings@v1
|
- uses: freemkv/.github/.github/actions/checkout-siblings@v1
|
||||||
@@ -139,7 +139,7 @@ jobs:
|
|||||||
needs: resolve-msrv
|
needs: resolve-msrv
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v7
|
||||||
with:
|
with:
|
||||||
path: freemkv-keysources
|
path: freemkv-keysources
|
||||||
- uses: freemkv/.github/.github/actions/checkout-siblings@v1
|
- uses: freemkv/.github/.github/actions/checkout-siblings@v1
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ jobs:
|
|||||||
verify:
|
verify:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v7
|
||||||
- name: Verify Cargo.toml version matches tag
|
- name: Verify Cargo.toml version matches tag
|
||||||
run: |
|
run: |
|
||||||
CARGO_VER="v$(grep '^version' Cargo.toml | head -1 | sed 's/.*"\(.*\)"/\1/')"
|
CARGO_VER="v$(grep '^version' Cargo.toml | head -1 | sed 's/.*"\(.*\)"/\1/')"
|
||||||
@@ -41,7 +41,7 @@ jobs:
|
|||||||
needs: verify
|
needs: verify
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v7
|
||||||
- id: msrv
|
- id: msrv
|
||||||
shell: bash
|
shell: bash
|
||||||
run: echo "v=$(grep -m1 '^rust-version' Cargo.toml | sed -E 's/.*\"([^\"]+)\".*/\1/')" >> "$GITHUB_OUTPUT"
|
run: echo "v=$(grep -m1 '^rust-version' Cargo.toml | sed -E 's/.*\"([^\"]+)\".*/\1/')" >> "$GITHUB_OUTPUT"
|
||||||
@@ -62,7 +62,7 @@ jobs:
|
|||||||
needs: verify
|
needs: verify
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v7
|
||||||
- name: Create GitHub Release
|
- name: Create GitHub Release
|
||||||
uses: softprops/action-gh-release@v3
|
uses: softprops/action-gh-release@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user