We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be15a1c commit 67b2b37Copy full SHA for 67b2b37
.github/workflows/main.yml
@@ -74,3 +74,14 @@ jobs:
74
name: test-results
75
path: test-results/
76
retention-days: 2
77
+
78
+ - name: Report Status to Build Repo
79
+ if: always()
80
+ run: |
81
+ conclusion=${{ job.status }}
82
+ echo "Reporting automation status to build repository..."
83
+ curl -X POST -H "Accept: application/vnd.github.everest-preview+json" \
84
+ -H "Authorization: Bearer ${{ secrets.PERSONAL_ACCESS_TOKEN }}" \
85
+ -H "Content-Type: application/json" \
86
+ --data "{\"event_type\": \"automation-${conclusion}\"}" \
87
+ https://api.github.com/repos/Indra512/Test/dispatches
0 commit comments