Bump actions/checkout from 5.0.0 to 5.0.1 #40
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: Danger | |
| on: | |
| pull_request_target: | |
| types: [opened, synchronize] | |
| permissions: | |
| pull-requests: write | |
| statuses: write | |
| jobs: | |
| danger: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup ruby | |
| uses: ruby/setup-ruby@3fee6763234110473bd57dd4595c5199fce2c510 # v1.258.0 | |
| with: | |
| ruby-version: 3.2 | |
| rubygems: 3.4.10 | |
| bundler-cache: true | |
| - name: Create base branch | |
| run: | | |
| git fetch ${{ github.event.pull_request.base.repo.clone_url }} ${{ github.event.pull_request.base.sha }}:danger_base | |
| - name: Create head branch | |
| run: | | |
| git fetch ${{ github.event.pull_request.head.repo.clone_url }} ${{ github.event.pull_request.head.sha }}:danger_head | |
| - name: Danger | |
| env: | |
| DANGER_GITHUB_BEARER_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| bundle exec danger --verbose |