Skip to content

Nightly E2E

Nightly E2E #824

Workflow file for this run

name: Nightly E2E
on:
schedule:
# each day
- cron: "0 20 * * *"
jobs:
call_e2e:
uses: ./.github/workflows/call-e2e.yml
with:
project: ""
ref: main
secrets: inherit
creat_issue:
runs-on: ubuntu-latest
needs: [call_e2e]
if: ${{ always() && needs.call_e2e.result == 'failure' }}
steps:
- name: echo
run: |
echo ${{ github.repository }}
echo ${{ github.repository_owner }}
echo "TIMESTAMP=`date +%Y-%m-%d`" >> $GITHUB_ENV
- name: create an issue
uses: dacbd/[email protected]
with:
token: ${{ secrets.WELAN_PAT }}
title: "Night CI ${{ ENV.TIMESTAMP }}: Failed"
body: |
action url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
labels: "kind/bug"
assignees: "weizhoublue"