dataconnect: dataconnect.yml: add job to comment on an issue #6945
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
| name: Verify changelog update | |
| on: | |
| pull_request | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| changelog-check: | |
| runs-on: ubuntu-22.04 | |
| env: | |
| BUNDLE_GEMFILE: ./ci/danger/Gemfile | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| fetch-depth: 100 | |
| submodules: true | |
| - uses: ruby/setup-ruby@1a615958ad9d422dd932dc1d5823942ee002799f # v1.227.0 | |
| with: | |
| ruby-version: '2.7' | |
| - name: Setup Bundler | |
| run: ./ci/danger/setup_bundler.sh | |
| - name: Danger CHANGELOG verifier | |
| env: | |
| DANGER_GITHUB_API_TOKEN: ${{ secrets.GOOGLE_OSS_BOT_TOKEN }} | |
| run: | |
| '[ ! -z $DANGER_GITHUB_API_TOKEN ] && bundle exec danger --dangerfile=./ci/danger/Dangerfile || echo "Skipping Danger for External Contributor"' |