From 1501e19d476c16f86d4d3ef76e3e2b363b0e4305 Mon Sep 17 00:00:00 2001 From: yaminidhamija Date: Fri, 12 Apr 2024 15:42:00 +0530 Subject: [PATCH] fix --- .github/workflows/dependabot.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index d1a481e..7269712 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -7,12 +7,18 @@ jobs: dependabot: runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Set up JDK - uses: actions/setup-java@v2 + - uses: actions/checkout@v3 + + - name: Set short git commit SHA + id: commit + uses: prompt/actions-commit-hash@v2 + + - uses: actions/setup-java@v2 with: - java-version: '11' + distribution: 'temurin' + java-version: '17' + cache: maven + - name: Run Dependabot run: npx dependabot --allow-dirty - name: Commit changes