-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Implement actions #21937
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
Implement actions #21937
Changes from all commits
Commits
Show all changes
475 commits
Select commit
Hold shift + click to select a range
564937a
feat: bots_service.CreateCommitStatus
wolfogre 3793d55
fix: commit status
wolfogre 3682fc3
Merge branch 'main' into feature/bots
wolfogre 26ac9ab
Merge branch 'go-gitea:main' into feature/bots
wolfogre 9808d08
fix: remove useless codes
wolfogre 4487f04
feat: new way to notify
wolfogre 847d65d
Merge branch 'main' into feature/bots
wolfogre c5c9b4a
Merge branch 'main' into feature/bots
wolfogre a29babe
fix: skip initing bots storage if disabled
wolfogre ab69fdc
feat: more notifications
wolfogre b2745bf
feat: support disable bots completely
wolfogre d2a4c10
chore: code lint
wolfogre 9bd773e
Merge branch 'main' into feature/bots
wolfogre f869c98
chore: resolve conflict
wolfogre b9ab9b2
Merge branch 'go-gitea:main' into feature/bots
wolfogre 3dc5547
Merge branch 'main' into feature/bots
wolfogre 76869e4
Merge branch 'main' into feature/bots
wolfogre d4842ac
chore: resolve conflict
wolfogre b0d6c7b
chore: use SPDX-License-Identifier
wolfogre bd1af5b
Merge branch 'main' into feature/bots
wolfogre fdd3444
fix: add missing ctx
wolfogre 704f720
refactor: rename packages
wolfogre 5f74b35
refactor: rename files
wolfogre 67c5c88
refactor: rename import alias
wolfogre f2c7bbb
refactor: rename to actions-proto-go
wolfogre c07d0c1
refactor: rename model
wolfogre 56368f3
refactor: use ctx in models
wolfogre 223782c
refactor: rename to actions
wolfogre da51e18
chore: make go-licenses
wolfogre 4142218
chore: rename dbfs prefix
wolfogre f6f29d4
chore: upgrade act to v0.234.0
wolfogre 55df4fd
chore: rename BOTS
wolfogre ab0a60e
Merge branch 'main' into feature/bots
wolfogre eaf266a
chore: fix lint
wolfogre 26b8756
fix: deal with empty repo
wolfogre 8377fc0
Merge branch 'main' into feature/bots
wolfogre 202bbe2
docs: update comparison
wolfogre 3dc7ffc
fix: add settings.actions_desc
wolfogre 4914395
fix: remove timestamp
wolfogre 266a122
Merge branch 'main' into feature/bots
wolfogre 10ebbec
chore: rename to action
wolfogre 9b6b848
fix: layout
wolfogre 901914e
feat: move summary to header
wolfogre d378a78
Merge branch 'main' into feature/bots
wolfogre dfa1b61
Merge branch 'main' into feature/bots
wolfogre 22203ee
Update modules/notification/actions/helper.go
wolfogre dbef504
fix: truncated title
wolfogre 7a34d37
fix: use ctx
wolfogre 86d6598
fix: use LONGBLOB
wolfogre dbdfd26
chore: rename to workflows.go
wolfogre 4da0a65
chore: migrations v236
wolfogre a6e39ca
Merge branch 'main' into feature/bots
wolfogre 59c3707
Merge branch 'main' into feature/bots
wolfogre 705fbb4
Fix permission check on http push
lunny d41fb40
docs: comment for V1AlphaRoute
wolfogre 5cfc48c
fix: template format
wolfogre cca23dd
feat: rename bot user to gitea-actions
wolfogre d4c47ac
fix: remove useless grpc routers
wolfogre cc19ab5
Merge branch 'main' into feature/bots
wolfogre 1c9288f
fix: list runners
wolfogre e69e829
fix: remove ActionTask.GetRepo
wolfogre d73db88
fix: use right class
wolfogre ef20a02
fix: use web.Bind
wolfogre 4f7597b
chore: mod tidy
wolfogre 6c62213
Merge branch 'main' into feature/bots
wolfogre ab98c3f
Merge branch 'main' into feature/bots
wolfogre 215d80f
Update models/actions/run.go
wolfogre b03f6e5
fix: remove meanless code
wolfogre 825b838
fix: margin
wolfogre 9c3395c
chore: removed to shared
wolfogre 118a454
fix: trasfer log when stop zombie tasks
wolfogre ab4350b
Merge branch 'main' into feature/bots
wolfogre b54f148
Revert "Add AES GCM encryption provider"
wolfogre 88e813d
Revert "Add simple master key provider for secret encryption"
wolfogre d183b32
Merge branch 'main' into feature/bots
wolfogre 058675f
fix: use new secrets
wolfogre 34be6b5
fix: remove old secret model
wolfogre f8d8209
Merge remote-tracking branch 'origin/feature/bots' into feature/bots
wolfogre aee01d1
chore: remove FindObjects
wolfogre fa701d0
chore: remove Hijack
wolfogre abf96d1
chore: remove secrets ini
wolfogre c326ea5
chore: update copyright
wolfogre 9eafbad
chore: reorganize locale of actions
wolfogre cce781a
chore: remove comments
wolfogre 4782792
Merge branch 'main' into feature/bots
wolfogre 255d778
fix: last eight token
wolfogre 950a5ad
Merge branch 'main' into feature/bots
wolfogre a6917db
fix: do not init cron for actions when it's disabled
wolfogre 3c68011
fix: tidy tmpl
wolfogre 3462760
Merge branch 'main' into feature/bots
wolfogre a67e14d
chore: fmt code
wolfogre 567996d
Merge branch 'main' into feature/bots
wolfogre 9fd6b38
Merge branch 'main' into feature/bots
wolfogre d995fc6
Merge branch 'main' into feature/bots
wolfogre c355172
fix: check reqRepoActionsWriter
wolfogre 1f48a9a
fix: check if can_cancel and can_rerun
wolfogre c393a9c
Merge branch 'main' into feature/bots
wolfogre d8f2343
fix: auth return
wolfogre bc7b575
fix: update locale
wolfogre 6bbce09
fix: remove old secrets tab
wolfogre 8717c42
fix: CanRerun
wolfogre f11a31e
Merge branch 'main' into feature/bots
wolfogre c840940
fix: import
wolfogre ec02056
refactor: mv modules/notification/actions to services/actions
wolfogre 5ae2816
chore: use webhook_model alias
wolfogre a145ec2
fix: do not init actions service when disabled
wolfogre 3db95bf
fix: check oauth2 user id
wolfogre 133437d
Merge branch 'main' into feature/bots
wolfogre 53afbce
Merge branch 'main' into feature/bots
wolfogre 9b0203b
Update custom/conf/app.example.ini
wolfogre 2917057
Update models/actions/status.go
wolfogre 9b00ded
Update models/actions/task_list.go
wolfogre 0f824b6
Update models/user/user_system.go
wolfogre 1faa885
Update models/user/user_system.go
wolfogre 66785e2
Update modules/actions/log.go
wolfogre cd2af5d
fix: check if steps are empty
wolfogre d33e9fc
chore: sort svgs
wolfogre 5e58ede
docs: comment for DEFAULT_ACTIONS_URL
wolfogre 5925722
chore: move statusNames
wolfogre 5d938eb
fix: use container.Set
wolfogre 7f6a803
fix: omit total in FindTasks
wolfogre 2c686e8
fix: add restraints for models
wolfogre d5e6d95
refactor: rename Number to Index
wolfogre 911aea1
docs: add actions to cheat sheet
wolfogre 0887e98
refactor: getPoster
wolfogre 6148e4c
fix: rename to GetPossibleUserByID
wolfogre 95167fd
chore: rename to NumActionRuns
wolfogre a222cb5
docs: fix format
wolfogre 925f7f1
chore: new way to trim entries
wolfogre 0ecb0b4
Update modules/setting/actions.go
wolfogre 4b15a33
chore: format code
wolfogre 0d2945f
Merge branch 'main' into feature/bots
wolfogre e35a046
Update services/auth/basic.go
wolfogre 066097a
Update services/forms/runner.go
wolfogre c3b37c4
Update services/actions/clear_tasks.go
wolfogre b4c692a
chore: format code
wolfogre 2ae7f54
Merge branch 'main' into feature/bots
wolfogre b884772
Apply suggestions from code review
wolfogre 24446cb
fix: add less for runners
wolfogre 6017329
chore: lint codes
wolfogre ede9a5f
chore: add comments
wolfogre bb3eb5e
fix: use ctx
wolfogre e8dbe82
fix: use %w
wolfogre 4bb8604
chore: add comments
wolfogre 08383bd
chore: simplify truncateContent
wolfogre c3d7f15
chore: remove CreateRunnerForm
wolfogre eee6624
fix: simplify deleting
wolfogre c510fdb
chore: simplify IsActions
wolfogre a4b2cf2
feat: calculate duration
wolfogre b1013a4
refactor: shard runner templates
wolfogre 92b117f
test: fix import cycle in dbfs test
wolfogre 730af9b
fix: add missing translations
wolfogre 22496aa
Update models/actions/task.go
wolfogre 63e8238
Update models/actions/task_step.go
wolfogre 2ac8410
fix: translation keys
wolfogre 49e307b
fix: show never when LastOnline is 0
wolfogre a4df058
Merge branch 'main' into feature/bots
wolfogre d7aa501
fix: NumClosedActionRuns
wolfogre 9bd3ea4
fix: map to DEFAULT_ACTIONS_URL
wolfogre ff75cbd
chore: fix log
wolfogre 326ae5d
fix: keep original commit message
wolfogre 05c08ec
chore: format runner id
wolfogre 4bc6d73
fix: split and trim labels
wolfogre a6f8f10
fix: add docs link for runner
wolfogre 91dfef0
feat: LocaleString for status
wolfogre 243b769
feat: locale status for runner
wolfogre 7a4d4f0
chore: use new dropdown icon
wolfogre e61d655
feat: show no runners available
wolfogre 6f6bfc5
feat: more translations
wolfogre aba1c03
feat: improve listing runs
wolfogre fc1d243
chore: remove fetchMockData
wolfogre 4b1d3c7
fix: ignore events caused by actions for actions notifier only
wolfogre 748fd3d
chore: add init.go to actions
wolfogre e249b39
chore: rename to actions.runners.last_online
wolfogre 4ebd096
fix: remove spaces between labels
wolfogre 4c65c1d
Merge branch 'main' into feature/bots
wolfogre 21db670
fix: use webhook_module
wolfogre 4b2bf7a
Merge branch 'main' into feature/bots
wolfogre 5e9d4f7
Merge branch 'main' into feature/bots
wolfogre f414fd6
Merge branch 'main' into feature/bots
wolfogre f114a9c
fix: ctx for NewCommitStatus
wolfogre 3c2bffd
Merge branch 'main' into feature/bots
wolfogre 335873e
chore: remove exp
wolfogre 5442440
fix: order by index
wolfogre e65f69f
Merge branch 'main' into feature/bots
wolfogre 39a5e72
chore: update go-licenses
wolfogre 409f11c
feat: use template modal
wolfogre 883781c
Merge branch 'main' into feature/bots
wolfogre b171042
Merge branch 'main' into feature/bots
wolfogre e73d010
Update web_src/js/components/RepoActionView.vue
wolfogre 1e45c2c
fix: use declared colors
wolfogre 59beb2d
feat: add _actions.less
wolfogre 11b0f84
chore: getLogsContainer
wolfogre 563d798
chore: logsContainer
wolfogre 0f6c886
chore: rename
wolfogre d572c22
Merge branch 'main' into feature/bots
wolfogre 3edc5d7
chore: format css
wolfogre 1c87be2
chore: use SliceContains
wolfogre 14593a8
fix: fetch data with url
wolfogre f5b5538
fix: style for log lines
wolfogre 2e8aff7
chore: init ansiToHTML in data()
wolfogre 5e898b3
fix: format duration in backend
wolfogre 358d494
fix: i18nCancel
wolfogre 83534ad
chore: rename to fetchJob
wolfogre 1072f99
fix: extract the fetch into a submethod
wolfogre 2e0bf2b
fix: rename elJobStepLogs
wolfogre ec88ef3
Merge branch 'main' into feature/bots
wolfogre 6e40494
fix: UpdateTaskByState
wolfogre 5fb2d7f
feat: improve view page
wolfogre 87f7874
chore: use slice as LogIndexes
wolfogre 85e5307
Merge branch 'main' into feature/bots
wolfogre 26925e2
chore: fix go-licenses
wolfogre b71f539
chore: improve loadJob
wolfogre d5e0ee5
fix: var names
wolfogre ec4f646
chore: stop interval
wolfogre 11fec35
Revert "chore: logsContainer"
wolfogre 4c0cc46
fix: props type
wolfogre 011e59e
chore: improve runnr list ui
wolfogre 1f2b706
fix: remove unnecessary delay
wolfogre 7cc2dfc
feat: improve rerun button ui
wolfogre 2e5a834
Merge branch 'main' into feature/bots
wolfogre 1bf2441
chore: update go-licenses
wolfogre c664e52
chore: no need to upgrade x/tools
wolfogre fe46662
Merge branch 'main' into feature/bots
wolfogre 8b626db
fix: marshal empty slice to [] in json
wolfogre 1c44b7e
Merge branch 'main' into feature/bots
wolfogre 9500a5a
Merge branch 'main' into feature/bots
wolfogre 15fc91e
Merge branch 'main' into feature/bots
wolfogre 1c30052
Merge branch 'main' into feature/bots
wolfogre 313f104
Merge branch 'main' into feature/bots
wolfogre 60e86ab
Merge branch 'main' into feature/bots
wolfogre 98107ef
chore: format code
wolfogre 39b55de
Update options/locale/locale_en-US.ini
wolfogre 011e320
fix: fix id style
wolfogre faad49e
fix: number color
wolfogre 5030055
Revert "fix: i18nCancel"
wolfogre 49c49e7
fix: use cancel icon
wolfogre 3b1fa79
chore: lint code
wolfogre c70da27
fix: lint code
wolfogre 075981b
Merge branch 'main' into feature/bots
wolfogre d402cc2
Merge branch 'main' into feature/bots
wolfogre ad78f9d
Merge branch 'main' into feature/bots
wolfogre 64c8c0d
Merge branch 'main' into feature/bots
lunny 452a672
Merge branch 'main' into feature/bots
wolfogre 2552ec1
Merge branch 'main' into feature/bots
wolfogre dd319a9
chore: follow new NotifyIssueChangeStatus
wolfogre 46e1dbf
Merge branch 'main' into feature/bots
wolfogre 5071924
Merge branch 'main' into feature/bots
wolfogre d03975f
Merge branch 'main' into feature/bots
wolfogre b8b856c
Merge branch 'main' into feature/bots
jolheiser 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
Large diffs are not rendered by default.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.