Skip to content

chore: change destination upload directory for private fork #1601

chore: change destination upload directory for private fork

chore: change destination upload directory for private fork #1601

Workflow file for this run

name: Amp Code Review
on:
pull_request:
types: [opened, reopened, ready_for_review, labeled]
jobs:
review:
# Only run on PRs with "amp" label, skip drafts
if: |
contains(github.event.pull_request.labels.*.name, 'amp') &&
!github.event.pull_request.draft
runs-on: ubuntu-latest
# Ensure only one review runs per PR
concurrency:
group: amp-review-pr-${{ github.event.pull_request.number }}
cancel-in-progress: true
permissions:
pull-requests: write
checks: write
contents: read
steps:
- name: Run Amp Code Review
uses: docker://ghcr.io/sourcegraph/cra-github:latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
AMP_SERVER_URL: ${{ vars.AMP_SERVER_URL }}
AMP_API_KEY: ${{ secrets.AMP_API_KEY }}
with:
args: node /app/dist/bin/review-action.js