File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 1414 workflow_dispatch :
1515
1616jobs :
17- test_upgrade :
17+ get_latest_release :
1818 runs-on : ubuntu-latest
1919 if : github.repository == 'azimuth-cloud/azimuth-config'
20+ outputs :
21+ latest_release : ${{ steps.get-tag.outputs.latest }}
2022 steps :
2123 - name : Checkout
2224 uses : actions/checkout@v5
@@ -28,17 +30,24 @@ jobs:
2830 env :
2931 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3032
33+ test_upgrade :
34+ runs-on : ubuntu-latest
35+ needs : get_latest_release
36+ steps :
3137 - name : Run upgrade workflow
3238 uses : ./.github/workflows/test-upgrade.yml
3339 with :
34- from-ref : ${{ steps.get-tag .outputs.latest }}
40+ from-ref : ${{ needs.get_latest_release .outputs.latest_release }}
3541 to-ref : " devel"
3642
43+ send_slack_message :
44+ runs_on : ubuntu-latest
45+ steps :
3746 - name : Send message to Slack
3847 uses : slackapi/slack-github-action@v2.1.1
3948 with :
4049 webhook : " ${{ secrets.SLACK_WEBHOOK_URL }}"
4150 webhook-type : incoming-webhook
4251 payload : |
43- text: ":siren: Scheduled Azimuth upgrade test failed\n" ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" "
52+ text: ":siren: Scheduled Azimuth upgrade test failed\n${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
4453 if : ${{ failure() }}
You can’t perform that action at this time.
0 commit comments