Skip to content

Commit f226f93

Browse files
authored
Merge branch 'master' into functional-tests
2 parents 35a18a5 + 527226f commit f226f93

File tree

1 file changed

+4
-19
lines changed

1 file changed

+4
-19
lines changed

.github/workflows/update-go-deps.yml

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,9 @@ jobs:
5050
5151
- name: Create Pull Request
5252
if: steps.check_changes.outputs.has_changes == 'true'
53-
id: create_pr
5453
uses: peter-evans/create-pull-request@v7
5554
with:
56-
token: ${{ secrets.GITHUB_TOKEN }}
55+
token: ${{ secrets.PAT }}
5756
commit-message: 'chore(deps): update Go dependencies'
5857
title: 'chore(deps): update Go dependencies'
5958
body: |
@@ -67,27 +66,13 @@ jobs:
6766
- Applied formatting and linting fixes via `make fmt lint-fix`
6867
6968
Please review the changes and ensure all tests pass before merging.
69+
70+
---
71+
*Generated by https://github.com/adobe/koperator/blob/master/.github/workflows/update-go-deps.yml*
7072
branch: automated/update-go-deps
7173
delete-branch: true
7274
labels: |
7375
dependencies
7476
go
7577
automated
7678
77-
- name: Trigger CI workflows for generated PR
78-
if: steps.check_changes.outputs.has_changes == 'true' && steps.create_pr.outputs.pull-request-number
79-
run: |
80-
curl -X POST \
81-
-H "Accept: application/vnd.github.v3+json" \
82-
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
83-
https://api.github.com/repos/${{ github.repository }}/dispatches \
84-
-d '{
85-
"event_type": "run-tests-for-generated-pr",
86-
"client_payload": {
87-
"pr_number": "${{ steps.create_pr.outputs.pull-request-number }}",
88-
"pr_head_sha": "${{ steps.create_pr.outputs.pull-request-head-sha }}",
89-
"pr_branch": "automated/update-go-deps",
90-
"trigger_source": "update-go-deps"
91-
}
92-
}'
93-

0 commit comments

Comments
 (0)