Skip to content

Commit

Permalink
ci: check conclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
levisingularity committed Jul 25, 2024
1 parent b803428 commit ce8f795
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/check-repos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
matrix:
repo: ${{ fromJson(vars.SCHEDULED_REPOS) }}
steps:
- name: Start workflow
id: start-workflow
- name: Running workflow
id: running-workflow
uses: singnet/das-cicd@master
with:
workflow: ${{ matrix.repo.workflow_id }}
Expand All @@ -28,6 +28,6 @@ jobs:
github-token: ${{ secrets.GH_TOKEN }}

- name: Create mattermost message
if: ${{ steps.start-workflow.outputs.conclusion }} == 'failure'
if: ${{ steps.running-workflow.outputs.conclusion }} != 'success'
run: |
echo "Something happend on the lint of ${{ matrix.repo.name }}"
echo "Something happend on the lint of ${{ matrix.repo.name }} - ${{ steps.running-workflow.outputs.conclusion }}"

0 comments on commit ce8f795

Please sign in to comment.