From 41123e40dc6bd56a804de0c9f5e0bbe2ec1e1c1f Mon Sep 17 00:00:00 2001 From: root Date: Fri, 31 Jan 2025 15:27:35 +0000 Subject: [PATCH 1/3] add actions --- .github/dependabot.yml | 5 ++--- .../update-libraries-to-commits.yaml | 18 +++++++++++++++++ .github/workflows/update-libraries.yaml | 20 +++++++++++++++++++ 3 files changed, 40 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/update-libraries-to-commits.yaml create mode 100644 .github/workflows/update-libraries.yaml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 35ab2cc..dafaa41 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -13,8 +13,8 @@ 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: @@ -22,7 +22,6 @@ updates: update-types: - major - minor - - patch patterns: - "*" diff --git a/.github/workflows/update-libraries-to-commits.yaml b/.github/workflows/update-libraries-to-commits.yaml new file mode 100644 index 0000000..1e0c6b7 --- /dev/null +++ b/.github/workflows/update-libraries-to-commits.yaml @@ -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 diff --git a/.github/workflows/update-libraries.yaml b/.github/workflows/update-libraries.yaml new file mode 100644 index 0000000..e264248 --- /dev/null +++ b/.github/workflows/update-libraries.yaml @@ -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 \ No newline at end of file From bc0bf67352d2c8b9c27e2919039f7f13b6379953 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 31 Jan 2025 17:54:55 +0000 Subject: [PATCH 2/3] fix linting --- .github/workflows/update-libraries-to-commits.yaml | 2 +- .github/workflows/update-libraries.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update-libraries-to-commits.yaml b/.github/workflows/update-libraries-to-commits.yaml index 1e0c6b7..c545ce2 100644 --- a/.github/workflows/update-libraries-to-commits.yaml +++ b/.github/workflows/update-libraries-to-commits.yaml @@ -9,7 +9,7 @@ # 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: + workflow_dispatch: jobs: package-update: diff --git a/.github/workflows/update-libraries.yaml b/.github/workflows/update-libraries.yaml index e264248..22f9832 100644 --- a/.github/workflows/update-libraries.yaml +++ b/.github/workflows/update-libraries.yaml @@ -9,9 +9,9 @@ # 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] + workflow_dispatch: + repository_dispatch: + types: [latest-released-libraries] jobs: package-update: From d702184d4b111637bfaaaff7a1a268466eb71036 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 31 Jan 2025 18:08:07 +0000 Subject: [PATCH 3/3] fix linting --- .github/workflows/update-libraries.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-libraries.yaml b/.github/workflows/update-libraries.yaml index 22f9832..20f871d 100644 --- a/.github/workflows/update-libraries.yaml +++ b/.github/workflows/update-libraries.yaml @@ -17,4 +17,4 @@ jobs: package-update: uses: dell/common-github-actions/.github/workflows/update-libraries.yml@main name: Dell Libraries Update - secrets: inherit \ No newline at end of file + secrets: inherit