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({