Fix droplet destruction #50
Workflow file for this run
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: Lint | |
on: | |
pull_request: {} | |
pull_request_review_comment: | |
types: [created] | |
permissions: | |
contents: read | |
# Cancel in progress runs for PRs but not main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
if: github.event_name == 'pull_request' | |
uses: trailofbits/.github/.github/workflows/[email protected] | |
permissions: | |
contents: read | |
pull-requests: read | |
checks: write | |
ai-review: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
- uses: coderabbitai/ai-pr-reviewer@44244a9e06f5acf72a93f661c7dbb8d8d808143d # v1.16.2 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }} | |
with: | |
debug: false | |
review_simple_changes: false | |
review_comment_lgtm: false | |
openai_base_url: http://localhost:8080/v1 | |
services: | |
azure-openai: | |
image: stulzq/azure-openai-proxy | |
env: | |
AZURE_OPENAI_ENDPOINT: https://gpt-4-alternate-france.openai.azure.com/ | |
AZURE_OPENAI_MODEL_MAPPER: gpt-3.5-turbo=gpt-35-turbo,gpt-4=gpt-4 | |
AZURE_OPENAI_API_VER: "2023-05-15" | |
ports: | |
- 8080:8080 |