Skip to content

Commit dd5565c

Browse files
authored
Update main.yml
1 parent 67b2b37 commit dd5565c

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Playwright Tests
1+
name: Automation Workflow
22
on:
33
repository_dispatch:
44
types: [trigger-automation]
@@ -75,13 +75,10 @@ jobs:
7575
path: test-results/
7676
retention-days: 2
7777

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
78+
# - name: Mark Workflow as Success
79+
# if: success()
80+
# run: echo "Automation completed successfully!"
81+
82+
# - name: Mark Workflow as Failure
83+
# if: failure()
84+
# run: echo "Automation failed!"

0 commit comments

Comments
 (0)