Skip to content

Commit

Permalink
Add GitHub Actions for dependency updates (#407)
Browse files Browse the repository at this point in the history
* add actions

* update comment

* fix linting

* fix linting
  • Loading branch information
shaynafinocchiaro authored Feb 3, 2025
1 parent 657bafc commit 5737e6d
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,15 @@ updates:
interval: "daily"
time: "18:00"
allow:
# Allow both direct and indirect updates for all packages
- dependency-type: all
# Allow direct updates for packages
- dependency-type: direct
# a group of dependencies will be updated together in one pull request
groups:
golang:
# group all semantic versioning levels together in one pull request
update-types:
- major
- minor
- patch
patterns:
- "*"

Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/update-libraries-to-commits.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright (c) 2025 Dell Inc., or its subsidiaries. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0

# Reusable workflow to perform updates of Dell client libraries to latest commits
name: Dell Libraries Commit Update
on: # yamllint disable-line rule:truthy
workflow_dispatch:

jobs:
package-update:
uses: dell/common-github-actions/.github/workflows/update-libraries-to-commits.yml@main
name: Dell Libraries Update
secrets: inherit
20 changes: 20 additions & 0 deletions .github/workflows/update-libraries.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright (c) 2025 Dell Inc., or its subsidiaries. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0

# Reusable workflow to perform updates of Dell client libraries
name: Dell Libraries Release Update
on: # yamllint disable-line rule:truthy
workflow_dispatch:
repository_dispatch:
types: [latest-released-libraries]

jobs:
package-update:
uses: dell/common-github-actions/.github/workflows/update-libraries.yml@main
name: Dell Libraries Update
secrets: inherit

0 comments on commit 5737e6d

Please sign in to comment.