From d2e5e1d441778e52e674ae095015c52250549934 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Thu, 15 Oct 2020 19:16:04 +0200 Subject: [PATCH] Create issue on failure of ss58 nightly run (#711) --- .github/workflows/ss58-registry.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ss58-registry.yml b/.github/workflows/ss58-registry.yml index 919228ef3..c47bd6a18 100644 --- a/.github/workflows/ss58-registry.yml +++ b/.github/workflows/ss58-registry.yml @@ -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 }}