Skip to content

Commit a29749a

Browse files
Clean up workflow by removing unused curl commands
Removed diagnostic curl commands for token inspection and repository dispatch.
1 parent 516e83f commit a29749a

1 file changed

Lines changed: 0 additions & 29 deletions

File tree

.github/workflows/trigger-private-release.yml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -20,35 +20,6 @@ jobs:
2020
igniteui-angular-test
2121
igniteui-actions
2222
23-
- name: Inspect the token accepted permissions header on a repo-scoped request
24-
run: |
25-
curl -i \
26-
-H "Authorization: Bearer ${{ steps.app-token.outputs.token }}" \
27-
-H "Accept: application/vnd.github+json" \
28-
https://api.github.com/repos/IgniteUI/igniteui-actions
29-
30-
- name: Debug - list repos visible to installation token
31-
run: |
32-
curl -sS \
33-
-H "Authorization: Bearer ${{ steps.app-token.outputs.token }}" \
34-
-H "Accept: application/vnd.github+json" \
35-
https://api.github.com/installation/repositories | jq -r '.repositories[].full_name'
36-
37-
- name: Token type sanity check
38-
run: |
39-
curl -i -H "Authorization: Bearer ${{ steps.app-token.outputs.token }}" \
40-
-H "Accept: application/vnd.github+json" \
41-
https://api.github.com/installation/repositories
42-
43-
- name: Direct repository_dispatch via curl (diagnostic)
44-
run: |
45-
set -euxo pipefail
46-
curl -i -X POST \
47-
-H "Authorization: Bearer ${{ steps.app-token.outputs.token }}" \
48-
-H "Accept: application/vnd.github+json" \
49-
https://api.github.com/repos/IgniteUI/igniteui-actions/dispatches \
50-
-d '{"event_type":"igniteui-angular-public-release-created","client_payload":{"release_tag":"'"${{ github.event.release.tag_name }}"'","public_repo":"'"${{ github.repository }}"'"}}'
51-
5223
- name: Send repository dispatch to private repo
5324
uses: peter-evans/repository-dispatch@v3
5425
with:

0 commit comments

Comments
 (0)