add pulling genai-common to CI for vertexai #4907
This file contains 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: Changelog | |
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@v4.1.1 | |
with: | |
fetch-depth: 100 | |
submodules: true | |
- uses: ruby/setup-ruby@v1 | |
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"' |