ci: Remove PR from create run meta query (#17981)

* Rearrange client build steps

* Remove PR from the run meta insert query

* Add repo to the query

Co-authored-by: Satish Gandham <hello@satishgandham.com>
This commit is contained in:
Satish Gandham 2022-10-31 13:13:07 +05:30 committed by GitHub
parent ecd87464b0
commit 58fcb72606
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,8 +63,8 @@ jobs:
run: |
PGPASSWORD='${{secrets.APPSMITH_PERFORMANCE_DB_PASSWORD}}' psql -h '${{secrets.APPSMITH_PERFORMANCE_DB_HOST}}' \
-U aforce_admin -d perf-infra -c \
"INSERT INTO public.run_meta (gh_run_id, gh_run_attempt, pull_request_id, is_active)
VALUES ('${{github.run_id}}', '${{github.run_attempt}}', '${{ inputs.pr }}', FALSE)"
"INSERT INTO public.run_meta (repo, gh_run_id, gh_run_attempt, is_active)
VALUES ('${{github.repository}}',${{github.run_id}}', '${{github.run_attempt}}', FALSE)"
- name: Figure out the PR number