File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -207,6 +207,8 @@ jobs:
207207
208208 - name : notify dashboard
209209 if : always() && startsWith(github.repository, 'sofa-framework') && startsWith(github.ref, 'refs/heads/master') # we are not on a fork and on master
210+ env :
211+ DASH_AUTH : ${{ secrets.PLUGIN_DASH }}
210212 shell : bash
211213 run : |
212214 test_status=$([ '${{ steps.test-sofa.outcome }}' == 'success' ] && \
@@ -224,7 +226,7 @@ jobs:
224226 echo 'true' || echo 'false')
225227
226228
227- curl -X POST -H "X-API-KEY: ${{ secrets.PLUGIN_DASH }} " -H "Content-Type: application/json" -d \
229+ curl -X POST -H "X-API-KEY: $DASH_AUTH " -H "Content-Type: application/json" -d \
228230 "{\"id\":\"$(echo "${{ github.repository }}" | awk -F/ '{ print $2 }')\",\
229231 \"github_ref\":\"${{ github.sha }}\",\
230232 \"url\":\"https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\",\
You can’t perform that action at this time.
0 commit comments