Github Actions: another fix for the levitate workflow (#43659)

* chore: link to the actual workflow step

* chore: make the "Detect" workflow fail if there were any breaking changes

* chore: stop making the reporting workflow fail on breaking changes

* fix: fix typo (`mesage` -> `message`)
pull/43665/head
Levente Balogh 4 years ago committed by GitHub
parent 2425828a0b
commit ef35fd4069
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      .github/workflows/detect-breaking-changes-build.yml
  2. 3
      .github/workflows/detect-breaking-changes-report.yml

@ -6,6 +6,8 @@ jobs:
build:
name: Detect
runs-on: ubuntu-latest
env:
GITHUB_STEP_NUMBER: 7
steps:
- uses: actions/checkout@v2
@ -35,15 +37,18 @@ jobs:
env:
FORCE_COLOR: 3
GITHUB_JOB_LINK: ${{ steps.job.outputs.link }}
GITHUB_STEP_NUMBER: 7
- name: Persisting the check output
run: |
mkdir -p ./levitate
echo "{ \"exit_code\": ${{ steps.breaking-changes.outputs.is_breaking }}, \"message\": \"${{ steps.breaking-changes.outputs.mesage }}\", \"job_link\": \"${{ steps.job.outputs.link }}\" }" > ./levitate/result.json
echo "{ \"exit_code\": ${{ steps.breaking-changes.outputs.is_breaking }}, \"message\": \"${{ steps.breaking-changes.outputs.message }}\", \"job_link\": \"${{ steps.job.outputs.link }}#step:${GITHUB_STEP_NUMBER}\" }" > ./levitate/result.json
- name: Upload check output as artifact
uses: actions/upload-artifact@v2
with:
name: levitate
path: levitate/
- name: Exit
run: exit ${{ steps.breaking-changes.outputs.is_breaking }}
shell: bash

@ -160,7 +160,4 @@ jobs:
team_reviewers: ['grafana/plugins-platform-frontend']
});
- name: Exit
run: exit ${{ steps.levitate-run.outputs.exit_code }}
shell: bash

Loading…
Cancel
Save