File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -130,10 +130,18 @@ jobs:
130
130
notify-via-slack :
131
131
name : Notify workflow conclusion via Slack
132
132
if : ${{ always() }}
133
- needs : unit_tests_with_nightly_puppet_gem
133
+ needs : [set_output_data, unit_tests_with_nightly_puppet_gem]
134
134
runs-on : ' ubuntu-latest'
135
135
steps :
136
- - uses : luchihoratiu/notify-via-slack@main
136
+ - uses : luchihoratiu/notify-via-slack@v1.0.0
137
137
with :
138
138
SLACK_CHANNEL : ${{ secrets.SLACK_CHANNEL }}
139
139
SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
140
+ NOTIFY_ONLY_ON_CONCLUSION_CHANGE : ' true'
141
+ EXTRA_INFORMATION : ' :github_actions: Run number: ${{ github.run_id }} \n
142
+ :puppet: Puppet Agent SHA: ${{ github.event.inputs.pa_ref }} \n
143
+ :puppet: Puppet SHA: ${{ needs.set_output_data.outputs.puppet_sha }} \n
144
+ :puppet: Puppet Short Commit: ${{ needs.set_output_data.outputs.puppet_short_commit }} \n
145
+ :puppet: Puppet Version: ${{ needs.set_output_data.outputs.puppet_version }} \n
146
+ :ruby: Ruby Version: ${{ needs.set_output_data.outputs.ruby_version }} \n'
147
+
You can’t perform that action at this time.
0 commit comments