Jason Song and Lunny Xiao
5c4a96bcb7
Avoid using log.Fatal in pkg/* ( #39 )
...
Follow https://github.com/nektos/act/pull/1705
Reviewed-on: https://gitea.com/gitea/act/pulls/39
Reviewed-by: Lunny Xiao <[email protected] >
Co-authored-by: Jason Song <[email protected] >
Co-committed-by: Jason Song <[email protected] >
2023-04-07 16:31:03 +08:00
Jason Song
2eb4de02ee
Expose SetJob to make EraseNeeds work ( #35 )
...
Related to #33
Reviewed-on: https://gitea.com/gitea/act/pulls/35
Reviewed-by: Lunny Xiao <[email protected] >
2023-03-29 13:57:29 +08:00
Jason Song
342ad6a51a
Keep the order of jobs in the workflow file when parsing ( #33 )
...
Keep the order of jobs in the workflow file when parsing, and it will make it possible for Gitea to show jobs in the original order on UI.
Reviewed-on: https://gitea.com/gitea/act/pulls/33
Reviewed-by: Lunny Xiao <[email protected] >
2023-03-28 11:38:40 +08:00
Jason Song
568f053723
Revert "Erase needs of job in SingleWorkflow ( #9 )" ( #32 )
...
This reverts commit 1ba076d321 .
`EraseNeeds` Shouldn't be used in `jobparser.Parse`, it's for https://github.com/go-gitea/gitea/blob/023e61e678dc353fa6c9b0299c37f48e98a3c7af/models/actions/run.go#L200
Or Gitea won't be able to get `Needs` of jobs.
Reviewed-on: https://gitea.com/gitea/act/pulls/32
Reviewed-by: Zettat123 <[email protected] >
2023-03-27 17:46:50 +08:00
Jason Song
929ea6df75
Support gitea context ( #27 )
...
And we will be able to use context like `${{ gitea.repository }}` in workflows yaml files, it's same as `${{ github.repository }}`
Reviewed-on: https://gitea.com/gitea/act/pulls/27
Reviewed-by: Zettat123 <[email protected] >
2023-03-23 12:14:28 +08:00
Jason Song
a8298365fe
Fix incompatibility caused by tracking upstream add actions to test it ( #24 )
...
Reviewed-on: https://gitea.com/gitea/act/pulls/24
2023-03-16 15:00:11 +08:00
Jason Song
1dda0aec69
Merge tag 'nektos/v0.2.43'
...
Conflicts:
pkg/container/docker_run.go
pkg/runner/action.go
pkg/runner/logger.go
pkg/runner/run_context.go
pkg/runner/runner.go
pkg/runner/step_action_remote_test.go
2023-03-16 11:45:29 +08:00
Jason Song
49e204166d
Update forking fules ( #23 )
...
As the title.
Reviewed-on: https://gitea.com/gitea/act/pulls/23
Reviewed-by: Lunny Xiao <[email protected] >
2023-03-16 10:46:41 +08:00
ac5dd8feb8
fix: return err in walk ( #1667 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-03-08 15:13:11 +00:00
19abab6375
fix: safe file name ( #1651 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-03-03 08:38:33 +00:00
Jason Song
1252e551b8
Replace more strings.ReplaceAll to safeFilename ( #18 )
...
Follow #16 #17
Reviewed-on: https://gitea.com/gitea/act/pulls/18
2023-02-24 14:20:34 +08:00
Jason Song
c614d8b96c
Replace more strings.ReplaceAll to safeFilename ( #17 )
...
Follow #16 .
Reviewed-on: https://gitea.com/gitea/act/pulls/17
2023-02-24 12:11:30 +08:00
Jason Song and Lunny Xiao
84b6649b8b
Safe filename ( #16 )
...
Fix #15 .
Reviewed-on: https://gitea.com/gitea/act/pulls/16
Reviewed-by: Lunny Xiao <[email protected] >
Co-authored-by: Jason Song <[email protected] >
Co-committed-by: Jason Song <[email protected] >
2023-02-24 10:17:36 +08:00
1316307313
chore: use new style octal ( #1630 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-16 15:34:51 +00:00
Jason Song and GitHub
b0a5068f6d
fix: don't override env ( #1629 )
2023-02-16 15:16:46 +00:00
Jason Song and Lunny Xiao
dca7801682
Support uses http(s)://host/owner/repo as actions ( #14 )
...
Examples:
```yaml
jobs:
my_first_job:
steps:
- name: My first step
uses: https://gitea.com/actions/heroku@main
- name: My second step
uses: http://example.com/actions/[email protected]
```
Reviewed-on: https://gitea.com/gitea/act/pulls/14
Reviewed-by: Lunny Xiao <[email protected] >
Co-authored-by: Jason Song <[email protected] >
Co-committed-by: Jason Song <[email protected] >
2023-02-15 16:28:33 +08:00
Jason Song and Lunny Xiao
1ba076d321
Erase needs of job in SingleWorkflow ( #9 )
...
Reviewed-on: https://gitea.com/gitea/act/pulls/9
Reviewed-by: Lunny Xiao <[email protected] >
Co-authored-by: Jason Song <[email protected] >
Co-committed-by: Jason Song <[email protected] >
2023-01-30 11:42:19 +08:00
Jason Song and Lunny Xiao
0a37a03f2e
Clone actions without token ( #6 )
...
Shouldn't provide token when cloning actions, the token comes from the instance which triggered the task, it might be not the instance which provides actions.
For GitHub, they are the same, always github.com. But for Gitea, tasks triggered by a.com can clone actions from b.com.
Reviewed-on: https://gitea.com/gitea/act/pulls/6
Reviewed-by: Lunny Xiao <[email protected] >
Co-authored-by: Jason Song <[email protected] >
Co-committed-by: Jason Song <[email protected] >
2023-01-06 13:34:38 +08:00
Jason Song
7920109e89
Merge tag 'nektos/v0.2.34'
2022-12-05 17:08:17 +08:00
Jason Song
c6b8548d35
feat: support PlatformPicker
2022-11-22 16:39:19 +08:00
Jason Song
7fb84a54a8
chore: update LICENSE
2022-11-22 15:26:02 +08:00
Jason Song
70cc6c017b
docs: add naming rule for git ref
2022-11-22 15:05:12 +08:00