feat: enable language code for audio transcription config in Live API for Vertex AI #598
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: infra.danger | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| danger: | |
| if: github.event.pull_request.head.repo.fork == false | |
| runs-on: macos-15 | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| contents: read # Required to read the Dangerfile | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Generate GitHub App Token | |
| id: generate-token | |
| uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf #v2.2.1 | |
| with: | |
| app-id: ${{ secrets.DANGER_APP_ID }} | |
| private-key: ${{ secrets.DANGER_APP_PRIVATE_KEY }} | |
| - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1 | |
| - name: Setup Bundler | |
| run: scripts/setup_bundler.sh | |
| - name: Danger | |
| env: | |
| DANGER_GITHUB_API_TOKEN: ${{ steps.generate-token.outputs.token }} | |
| run: '[ ! -z "$DANGER_GITHUB_API_TOKEN" ] && bundle exec danger || echo "Skipping Danger for External Contributor"' |