build: bump rubygems/configure-rubygems-credentials from 3d549bd0e55c3910ffb5515bf38d6e7f3e5be570 to 35b48d214380062b9499637cc110bb9fd0041a14 #20
Workflow file for this run
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
| permissions: | |
| contents: read | |
| pull-requests: write | |
| name: Danger | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || format('ref-{0}', github.ref) }} | |
| cancel-in-progress: true | |
| env: | |
| RUBY_VERSION: 3.4 | |
| APP_DIR: ${{ github.workspace }}/danger | |
| jobs: | |
| danger: | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' && !startsWith(github.head_ref, 'dependabot/') }} | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ${{ env.APP_DIR }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ env.RUBY_VERSION }} | |
| bundler-cache: true | |
| working-directory: ${{ env.APP_DIR }} | |
| - name: Run Danger | |
| run: bundle exec danger | |
| env: | |
| DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} |