Create issue on failure of ss58 nightly run (#711)

This commit is contained in:
Jaco Greeff
2020-10-15 19:16:04 +02:00
committed by GitHub
parent 32fc32f414
commit d2e5e1d441
+12 -7
View File
@@ -4,15 +4,20 @@ on:
- cron: '1 5 * * *'
jobs:
alltests:
strategy:
matrix:
step: ['test:networks']
name: ${{ matrix.step }}
ss58:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: ${{ matrix.step }}
- name: test
run: |
echo '```' >> ~/issue_body
yarn install --immutable | grep -v 'YN0013'
yarn ${{ matrix.step }}
yarn test:networks
- name: Create issue for failure
if: ${{ failure() }}
uses: peter-evans/create-issue-from-file@v2
with:
title: SS58 registry is outdated compared to Substrate master
content-filepath: ~/issue_body
token: ${{ secrets.GH_PAT }}