Skip to content

Commit

Permalink
Updated github workflows for the release branches/tags
Browse files Browse the repository at this point in the history
Signed-off-by: Anil Vishnoi <[email protected]>
  • Loading branch information
vishnoianil committed Sep 27, 2024
1 parent 7d26cec commit 3e73815
Show file tree
Hide file tree
Showing 4 changed files with 89 additions and 4 deletions.
74 changes: 74 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
version: 2
updates:
# Enable version updates for the following package ecosystems for master branch
- package-ecosystem: "npm"
directory: "/"
schedule:
Expand Down Expand Up @@ -68,6 +69,79 @@ updates:
interval: "monthly"
reviewers:
- "instructlab/ui-maintainers"
target-branch: "main"
labels:
- "docker dependencies"

# Enable version updates for the following package ecosystems for release-1.0 branch
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
reviewers:
- "instructlab/ui-maintainers"
allow:
- dependency-type: "production"
target-branch: "release-1.0"
labels:
- "npm dependencies"
- "frontend"
groups:
typescript-eslint:
patterns:
- "@typescript-eslint/*"
- typescript-eslint
update-types:
- "minor"
- "patch"
react:
patterns:
- react
- react-dom
update-types:
- "minor"
- "patch"
patternfly:
patterns:
- "@patternfly/*"
- patternfly
update-types:
- "minor"
- "patch"
typescript-libraries:
patterns:
- "@types/*"
update-types:
- "minor"
- "patch"
- package-ecosystem: "github-actions"
directory: "/.github/workflows"
schedule:
interval: "weekly"
reviewers:
- "instructlab/ui-maintainers"
target-branch: "release-1.0"
labels:
- "github-actions"
groups:
actions-deps:
patterns:
- "*"
- package-ecosystem: "gomod"
directory: "/pathservice"
schedule:
interval: "weekly"
reviewers:
- "instructlab/ui-maintainers"
target-branch: "release-1.0"
labels:
- "go dependencies"
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "monthly"
reviewers:
- "instructlab/ui-maintainers"
target-branch: "release-1.0"
labels:
- "docker dependencies"
3 changes: 3 additions & 0 deletions .github/workflows/images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches:
- main
- release-1.0
tags:
- v*

env:
GHCR_REGISTRY: ghcr.io
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/lint-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ name: linters

on:
push:
branches: ["main"]
branches:
- main
- release-1.0
pull_request:
branches: ["main"]
branches:
- main
- release-1.0

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/lint-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@ name: UI lint

on:
push:
branches: ["main"]
branches:
- main
- release-1.0
paths:
- '.github/workflows/lint-ui.yml'
- '**/*'
- '!**/*.md'
pull_request:
branches: ["main"]
branches:
- main
- release-1.0
paths:
- '.github/workflows/lint-ui.yml'
- '**/*'
Expand Down

0 comments on commit 3e73815

Please sign in to comment.