From 7fbf7890fc9e714d8a00cc270380954de1d20d3c Mon Sep 17 00:00:00 2001 From: Mathieu Gilet Date: Tue, 29 Oct 2024 11:32:08 +0100 Subject: [PATCH] tech: add check to verify Scalingo applications deployment --- .github/workflows/check-scalingo-deployment.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/check-scalingo-deployment.yaml diff --git a/.github/workflows/check-scalingo-deployment.yaml b/.github/workflows/check-scalingo-deployment.yaml new file mode 100644 index 00000000000..7490d1ae8e1 --- /dev/null +++ b/.github/workflows/check-scalingo-deployment.yaml @@ -0,0 +1,16 @@ +name: Check Scalingo deployment +on: + check_suite: + types: [completed] + +jobs: + check-api-deployment: + runs-on: ubuntu-latest + steps: + - name: Check api deployment + uses: MathieuGilet/test-functions/check-scalingo-deployment@main + with: + token: ${{ secrets.GITHUB_TOKEN }} + repository: ${{ github.event.repository.full_name }} + application: "pix-api-review-pr"${{ github.event.pull_requests.number }} + sha: ${{ github.event.head_sha }}