Skip to content

fix(deployments): tolerate transient gateway 5xx during deploy status polling #479

fix(deployments): tolerate transient gateway 5xx during deploy status polling

fix(deployments): tolerate transient gateway 5xx during deploy status polling #479

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
jobs:
check:
name: Lint & Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- name: Test & lint
run: npm run lint
- name: Build
run: npm run build
- name: Notify owner on failure
if: failure()
uses: dawidd6/action-send-mail@v3
env:
PR_TITLE: ${{ github.event.pull_request.title }}
PR_AUTHOR: ${{ github.event.pull_request.user.login }}
with:
server_address: ${{ secrets.MAIL_SMTP_HOST }}
server_port: ${{ secrets.MAIL_SMTP_PORT }}
username: ${{ secrets.MAIL_USERNAME }}
password: ${{ secrets.MAIL_PASSWORD }}
subject: "[insforge-cli] CI failed on PR #${{ github.event.pull_request.number }}"
to: ${{ secrets.OWNER_EMAIL }}
from: ${{ secrets.MAIL_FROM || 'ci@insforge.dev' }}
body: |
CI check failed for PR #${{ github.event.pull_request.number }}
Title: ${{ env.PR_TITLE }}
Author: ${{ env.PR_AUTHOR }}
URL: ${{ github.event.pull_request.html_url }}
Run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}