From 66299224793d141919bd79fb160e8a8f97a383a1 Mon Sep 17 00:00:00 2001 From: Craig Perkins Date: Mon, 7 Oct 2024 21:19:28 -0400 Subject: [PATCH] Add version.properties to dependabot as additional file Signed-off-by: Craig Perkins --- .github/dependabot.yml | 2 ++ .github/workflows/dependabot-on-push.yml | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 .github/workflows/dependabot-on-push.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index af83f8b2edac2..342297f35f047 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1325,6 +1325,8 @@ updates: labels: - "dependabot" - "dependencies" + additional-files: + - "buildSrc/version.properties" - directory: /test/ open-pull-requests-limit: 1 package-ecosystem: gradle diff --git a/.github/workflows/dependabot-on-push.yml b/.github/workflows/dependabot-on-push.yml new file mode 100644 index 0000000000000..dfc1f9f53f5bf --- /dev/null +++ b/.github/workflows/dependabot-on-push.yml @@ -0,0 +1,23 @@ +name: Dependabot on Push + +on: + push: + branches: + - main + +jobs: + dependabot: + runs-on: ubuntu-latest + + steps: + - name: Check out repository + uses: actions/checkout@v3 + + - name: Trigger Dependabot Update + run: | + echo "Triggering Dependabot update..." + # Dependabot command can be simulated by updating config or forcing updates here. + # You can force update by changing a file or invoking an API if applicable. + + - name: Run Dependabot + uses: dependabot/fetch-metadata@v1