Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: 2
updates:
# workflow の action(SHA 固定)を更新する。SHA と末尾の # vX.Y.Z コメントを合わせて書き換えた PR が作られる
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "10:00"
timezone: "Asia/Tokyo"
groups:
github-actions:
patterns:
- "*"
commit-message:
prefix: "chore(deps)"
12 changes: 10 additions & 2 deletions .github/workflows/pr_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,25 @@ name: PR check

on: [pull_request]

permissions:
contents: read

jobs:
danger:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write # Danger が PR にコメントするため
issues: read # Danger が PR の情報(ラベル等)を issues API で読むため
statuses: write # Danger が結果をコミットステータスに付けるため
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Java
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0
with:
distribution: 'temurin'
java-version: '17'
- uses: actions/cache@8492260343ad570701412c2f464a5877dc76bace # v2
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: |
~/.gradle/caches
Expand Down Expand Up @@ -42,7 +50,7 @@ jobs:
with:
distribution: 'temurin'
java-version: '17'
- uses: actions/cache@8492260343ad570701412c2f464a5877dc76bace # v2
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: |
~/.gradle/caches
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- main

permissions:
contents: read

jobs:
unit_test:
runs-on: ubuntu-latest
Expand All @@ -15,7 +18,7 @@ jobs:
with:
distribution: 'temurin'
java-version: '17'
- uses: actions/cache@8492260343ad570701412c2f464a5877dc76bace # v2
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: |
~/.gradle/caches
Expand Down
Loading