From 4cfb61923de52c2bdd5e58b83291414b2dad094c Mon Sep 17 00:00:00 2001 From: cyrus Date: Mon, 18 Dec 2023 16:12:41 +0900 Subject: [PATCH] =?UTF-8?q?update:=20Dependabot=E3=80=81Github=20Actions?= =?UTF-8?q?=E7=94=A8=E8=A8=AD=E5=AE=9A=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/dependabot.yml | 7 +++++++ .github/workflows/maven.yml | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index ac6a5cb..2557980 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,3 +7,10 @@ updates: time: "00:00" timezone: Asia/Tokyo open-pull-requests-limit: 10 +- package-ecosystem: github-actions + directory: "/" + schedule: + interval: daily + time: "00:00" + timezone: Asia/Tokyo + open-pull-requests-limit: 10 diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 5a07c52..d2775af 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -16,7 +16,7 @@ jobs: contents: read pull-requests: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up JDK 8 uses: actions/setup-java@v3 with: @@ -26,8 +26,8 @@ jobs: - name: Build with Maven run: mvn -B package --file pom.xml - name: Add label - uses: actions/github-script@v6 - if: ${{ github.event_name == 'pull_request' }} + uses: actions/github-script@v7 + if: ${{ github.event_name == 'pull_request' && github.actor == 'dependabot[bot]' }} with: script: | github.rest.issues.addLabels({