Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Nightly CI run

Nightly CI run #518

Workflow file for this run

name: Nightly CI run
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
permissions:
contents: read
issues: write
pull-requests: write
jobs:
ci:
runs-on: self-hosted
env:
CI: true
outputs:
results: ${{ steps.ci.outputs.results }}
container: node:16.20.0-bullseye
steps:
- uses: actions/checkout@v1
- id: ci
uses: ./.github/actions/ci
create_issue:
if: contains(needs.ci.outputs.results, 'failing')
runs-on: ubuntu-latest
needs: ci
steps:
- uses: actions/checkout@v1
- name: Create an issue
uses: JasonEtco/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BODY: ${{ needs.ci.outputs.results }}
with:
filename: .github/ISSUE_TEMPLATE_NIGHLY_TESTS.md
search_existing: all
update_existing: true
- name: Fail
run: exit 1