8000 Add workflow_job webhook by ChristopherHX · Pull Request #33694 · go-gitea/gitea · GitHub
[go: up one dir, main page]

Skip to content

Add workflow_job webhook #33694

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

Merged
merged 25 commits into from
Mar 11, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
a4f32e5
WIP workflow_job webhook
ChristopherHX Feb 23, 2025
271ad9f
fmt
ChristopherHX Feb 23, 2025
1a16ea3
fix comment
ChristopherHX Feb 23, 2025
547d220
lint
ChristopherHX Feb 23, 2025
bdf0c1d
fix unit test
ChristopherHX Feb 23, 2025
f3fc2f3
Add more webhook fields
ChristopherHX Feb 24, 2025
05f8423
add initial test
ChristopherHX Feb 24, 2025
3ccc2eb
fmt
ChristopherHX Feb 24, 2025
ab8bab9
Merge branch 'main' into workflow_job_webhook_bp
ChristopherHX Feb 24, 2025
618f044
Rename notifier to WorkflowJobStatusUpdate
ChristopherHX Feb 25, 2025
1684975
test more fields
ChristopherHX Feb 25, 2025
da2180e
fix naming of htmlurl
ChristopherHX Feb 25, 2025
402182c
basic impl of other webhook types
ChristopherHX Mar 4, 2025
ec8c8bc
Repository -> Repo for consistency
ChristopherHX Mar 4, 2025
dec1a10
Merge branch 'main' of https://github.com/go-gitea/gitea into workflo…
ChristopherHX Mar 4, 2025
bf85e3c
Add missing header, update text
ChristopherHX Mar 4, 2025
071a28c
fix name
ChristopherHX Mar 4, 2025
0c3b0fc
notifier ==> notify_service to align with the codebase
ChristopherHX 8000 Mar 5, 2025
7b4a230
update text and colors of non gitea webhooks
ChristopherHX Mar 5, 2025
dfbf18c
commit missing notifier rename
ChristopherHX Mar 5, 2025
6319829
Merge branch 'main' into workflow_job_webhook_bp
GiteaBot Mar 10, 2025
12a688c
Merge branch 'main' into workflow_job_webhook_bp
GiteaBot Mar 10, 2025
6df14a2
Merge branch 'main' of https://github.com/go-gitea/gitea into workflo…
ChristopherHX Mar 10, 2025
db263ab
Merge branch 'main' into workflow_job_webhook_bp
GiteaBot Mar 11, 2025
7b7a277
Merge branch 'main' into workflow_job_webhook_bp
GiteaBot Mar 11, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fmt
  • Loading branch information
ChristopherHX committed Feb 23, 2025
commit 271ad9f16ffef2a31df1d4124e93b966cebdc053
2 changes: 1 addition & 1 deletion services/actions/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10, 8000 9 @@ import (
actions_model "code.gitea.io/gitea/models/actions"
"code.gitea.io/gitea/models/db"
secret_model "code.gitea.io/gitea/models/secret"
notifier "code.gitea.io/gitea/services/notify"

runnerv1 "code.gitea.io/actions-proto-go/runner/v1"
notifier "code.gitea.io/gitea/services/notify"
"google.golang.org/protobuf/types/known/structpb"
)

Expand Down
3 changes: 1 addition & 2 deletions services/actions/workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import (
"path"
"strings"

notifier "code.gitea.io/gitea/services/notify"

actions_model "code.gitea.io/gitea/models/actions"
"code.gitea.io/gitea/models/db"
"code.gitea.io/gitea/models/perm"
Expand All @@ -27,6 +25,7 @@ import (
"code.gitea.io/gitea/modules/util"
"code.gitea.io/gitea/services/context"
"code.gitea.io/gitea/services/convert"
notifier "code.gitea.io/gitea/services/notify"

"github.com/nektos/act/pkg/jobparser"
"github.com/nektos/act/pkg/model"
Expand Down
Loading
0