Skip to content

Commit

Permalink
update: Dependabot、Github Actions用設定を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrus07424 committed Dec 18, 2023
1 parent 9e43f0e commit 4cfb619
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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({
Expand Down

0 comments on commit 4cfb619

Please sign in to comment.