build: Gradle ファイルを Kotlin DSL に変換 #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Pull Request Review" | |
| on: | |
| pull_request: | |
| branches: | |
| - 'develop' | |
| - 'master' | |
| permissions: | |
| contents: read | |
| issues: read | |
| pull-requests: write | |
| jobs: | |
| review: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Cancel Previous Runs | |
| uses: styfle/[email protected] | |
| with: | |
| access_token: ${{ secrets.GH_ACCESS_TOKEN }} | |
| - uses: actions/checkout@v2 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.3 | |
| bundler-cache: true | |
| - name: Setup danger | |
| run: gem install danger | |
| - name: Git fetch | |
| run: git fetch -t | |
| - name: Run danger | |
| run: danger | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |