]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
github: Add dependency checker action
authorTom Hromatka <tom.hromatka@oracle.com>
Tue, 7 Feb 2023 23:28:50 +0000 (16:28 -0700)
committerTom Hromatka <tom.hromatka@oracle.com>
Tue, 7 Feb 2023 23:29:30 +0000 (16:29 -0700)
Add an action, dependabot, that will periodically check GitHub Actions
dependencies.  It is currently configured to run weekly.  If dependabot
finds an update, it will open a pull request.

See here for more details:
https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
Reviewed-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
.github/dependabot.yml [new file with mode: 0644]

diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644 (file)
index 0000000..916df5f
--- /dev/null
@@ -0,0 +1,22 @@
+#
+# Dependabot Workflow for libcgroup
+#
+# Copyright (c) 2023 Oracle and/or its affiliates.
+# Author: Tom Hromatka <tom.hromatka@oracle.com>
+#
+
+# based on this guide from GitHub:
+# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
+
+version: 2
+updates:
+
+  - package-ecosystem: "github-actions"
+    directory: "/"
+    schedule:
+      # Check for updates to GitHub Actions every week
+      interval: "weekly"
+    commit-message:
+      prefix: "RFE: "
+    labels:
+      - "enhancement"