-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Add workflow_run api + webhook #33964
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ChristopherHX
wants to merge
59
commits into
go-gitea:main
Choose a base branch
from
ChristopherHX:workflow-webhook-api
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
edb2459
wip event
ChristopherHX 013a0af
wip
ChristopherHX e93f9d2
update comment
ChristopherHX 6701375
add routes
ChristopherHX 988cafe
remove duplicated code
ChristopherHX 20f5d6e
use ToActionsStatus
ChristopherHX a178e4b
use cached task instance if available
ChristopherHX 295bf45
cleanup and fix webhook type bug
ChristopherHX 392baec
remove dead code
ChristopherHX fb8a221
Move GetActionWorkflow to convert
ChristopherHX ccb9dec
fixup
ChristopherHX 658583a
Merge branch 'main' of https://github.com/go-gitea/gitea into workflo…
ChristopherHX da738ea
webhook deliver the workflow field
ChristopherHX 171efe5
update context with name
ChristopherHX 605ed19
invoke workflow_run
ChristopherHX c3f6f13
prevent endless workflow_run trigger
ChristopherHX ca6bbc6
wip
ChristopherHX 875c774
wip test and fixes
ChristopherHX 22bfd96
fix keda scaler compat
ChristopherHX 6c9dae9
fix api result
ChristopherHX 5588588
add missing translate keys
ChristopherHX 5a0f4c9
add other webhook types
ChristopherHX 6df1854
..
ChristopherHX a983d34
fix workflow_run action event processing
ChristopherHX b650ca9
Merge branch 'main' of https://github.com/go-gitea/gitea into workflo…
ChristopherHX 8cfb047
fix lint
ChristopherHX 8fd54f2
update swagger docu
ChristopherHX c43cb79
...
ChristopherHX 23de934
add branches-ignore to workflow_run
ChristopherHX 956556d
update comment
ChristopherHX bb85519
allow workflow_run for recusive depth of 5
ChristopherHX cdefda1
fix comment
ChristopherHX d404c60
Sync run status with db prior webhook delivery
ChristopherHX 0940208
fix lint
ChristopherHX 4629a68
fix comment
ChristopherHX 9b3eb4c
change action of workflow_run to align
ChristopherHX 500a9bf
Merge branch 'main' of https://github.com/go-gitea/gitea into workflo…
ChristopherHX 5beb9ae
...
ChristopherHX 8acd36b
Merge branch 'main' of https://github.com/go-gitea/gitea into workflo…
ChristopherHX 4ae2a2b
Merge branch 'main' into workflow-webhook-api
ChristopherHX 3c95213
Merge branch 'main' of https://github.com/go-gitea/gitea into pr/Chri…
ChristopherHX 7a0bb03
reorder api
ChristopherHX 896b24a
fix lint
ChristopherHX 3e3be37
Merge branch 'main' of https://github.com/go-gitea/gitea into pr/Chri…
ChristopherHX 37c96b0
fix workflow name in workflow payload
ChristopherHX 8a7f930
fixup
ChristopherHX 3f479a2
avoid breaking existing test by using different test repo
ChristopherHX f82178e
add more test and more level of runs / jobs access
ChristopherHX dfd27c1
fix swagger consistency
ChristopherHX 1845ac7
cleanup
ChristopherHX 0a5a6eb
sync
ChristopherHX 27c9c27
fix tests
ChristopherHX 48379a2
improve tests and fix bugs
ChristopherHX 5be456b
add actor and triggerActor
ChristopherHX 7c7bd1d
add headsha filter
ChristopherHX b0f5360
update swagger for head_sha
ChristopherHX d3981cc
move implementations to correct places
ChristopherHX 0feed42
fix error message
ChristopherHX 149aac6
Merge branch 'main' of https://github.com/go-gitea/gitea into pr/Chri…
ChristopherHX File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
inner join requires mentioning the table name