Skip to content

Commit 13aad7d

Browse files
chore(PLATFORM-1104): adding dependabot, update workflows references and action version bump [skip ci]
1 parent 60f4644 commit 13aad7d

3 files changed

Lines changed: 71 additions & 1 deletion

File tree

.github/dependabot.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
version: 2
2+
3+
updates:
4+
- package-ecosystem: "github-actions"
5+
directory: "/"
6+
schedule:
7+
interval: "daily"
8+
time: "09:00"
9+
timezone: "UTC"
10+
open-pull-requests-limit: 10
11+
labels:
12+
- "dependencies"
13+
- "github-actions"
14+
commit-message:
15+
prefix: "chore(deps) [skip ci]"
16+
include: "scope"
17+
ignore:
18+
# Ignore minor and patch for ALL redmatter/github-workflows paths (e.g. v1.16.0 → v1.36.1)
19+
# Only major bumps (v1 → v2) should trigger a PR
20+
- dependency-name: "redmatter/github-workflows*"
21+
update-types:
22+
- "version-update:semver-minor"
23+
- "version-update:semver-patch"
24+
groups:
25+
# Matches full paths like redmatter/github-workflows/.github/workflows/gitflow.yml
26+
redmatter-workflows:
27+
patterns:
28+
- "redmatter/github-workflows*"
29+
update-types:
30+
- "major"
31+
third-party-actions:
32+
patterns:
33+
- "*"
34+
exclude-patterns:
35+
- "redmatter/github-workflows*"
36+
update-types:
37+
- "minor"
38+
- "patch"

.github/workflows/gitflow.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Generic Gitflow & Release Notes
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
version_increment:
7+
type: choice
8+
required: false
9+
description: 'BUMP TYPE: Select if you want an auto-increment the latest version (ignored if Manual Version is set)'
10+
options:
11+
- minor
12+
- patch
13+
- major
14+
version:
15+
type: string
16+
required: false
17+
description: 'MANUAL VERSION: Enter a specific version (e.g., 1.2.3). Leaves empty to use Bump Type above.'
18+
19+
pull_request:
20+
types:
21+
- closed
22+
branches:
23+
- master
24+
- develop
25+
26+
jobs:
27+
release_workflow:
28+
uses: redmatter/github-workflows/.github/workflows/gitflow.yml@v1
29+
with:
30+
version: ${{ inputs.version }}
31+
version_increment: ${{ inputs.version_increment }}
32+
secrets: inherit

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
release:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v6
1616

1717
- name: Verify tag matches distro.toml version
1818
run: |

0 commit comments

Comments
 (0)