Jason Song
436b441cad
Support cache ( #25 )
...
See [Caching dependencies to speed up workflows](https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows ).
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/25
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Zettat123 <zettat123@noreply.gitea.io>
Co-authored-by: Jason Song <i@wolfogre.com>
Co-committed-by: Jason Song <i@wolfogre.com>
2023-02-28 23:39:30 +08:00
sillyguodong
552dbcdda9
Add copyright header and gitea-vet ( #29 )
...
Add copyright header
Co-authored-by: sillyguodong <gedong_1994@163.com>
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/29
Reviewed-by: Jason Song <i@wolfogre.com>
Reviewed-by: Zettat123 <zettat123@noreply.gitea.io>
Co-authored-by: sillyguodong <sillyguodong@noreply.gitea.io>
Co-committed-by: sillyguodong <sillyguodong@noreply.gitea.io>
2023-02-28 18:44:46 +08:00
Alex Savchuk
33b4484fcd
fix: github.job property is empty, GITHUB_JOB should be job id ( #1646 )
...
* fix: github.job property is empty, GITHUB_JOB should be job id
fix: github.job property is empty #1621
fix: GITHUB_JOB should be the id not the name #1473
* fix linter problem.
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-27 19:10:31 +00:00
techknowlogick
a50b094c1a
update env var
2023-02-27 15:30:35 +08:00
techknowlogick
6cc53f16d8
use aws runner
2023-02-27 14:42:57 +08:00
techknowlogick
8fcd56dc7b
skip dist/config.yaml
2023-02-26 15:40:22 +08:00
techknowlogick
c9318f08e2
skip nightly publish
2023-02-26 15:39:22 +08:00
techknowlogick
c7f8919470
mkdir
2023-02-26 13:35:30 +08:00
techknowlogick
14dfa5cc15
s3 credentials
2023-02-26 13:34:26 +08:00
techknowlogick
99a53a1f4c
release to s3
2023-02-26 13:00:36 +08:00
techknowlogick
df2219eeb8
use node16 version of aws cred config
2023-02-26 12:42:50 +08:00
techknowlogick
216f3d1740
connect to aws s3
2023-02-26 12:39:41 +08:00
techknowlogick
8aa186897f
disable cache on golang setup
2023-02-26 12:24:49 +08:00
techknowlogick
3fa7707bc1
goreleaser needs go to build binary
2023-02-26 12:21:50 +08:00
techknowlogick
9038442191
pull tags for goreleaser
2023-02-26 12:20:47 +08:00
techknowlogick
c133be12d8
release nightly
2023-02-26 12:18:31 +08:00
techknowlogick
1072e3c383
Goreleaser build nightlies ( #27 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/27
2023-02-26 12:16:38 +08:00
Lunny Xiao
a4513405b5
Enable action as CI to test/build/release ( #26 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/26
2023-02-24 23:30:09 +08:00
Jason Song
410765b516
Upgrade act ( #24 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/24
2023-02-24 14:23:22 +08:00
Jason Song
28bc9e893c
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
06b9c3962e
Upgrade act ( #23 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/23
2023-02-24 12:16:18 +08:00
Jason Song
1cd3b6d763
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
0b64655a40
Upgrade act ( #22 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/22
2023-02-24 10:23:18 +08:00
Jason Song
ab84d306ad
Safe filename ( #16 )
...
Fix #15 .
Reviewed-on: https://gitea.com/gitea/act/pulls/16
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Jason Song <i@wolfogre.com>
Co-committed-by: Jason Song <i@wolfogre.com>
2023-02-24 10:17:36 +08:00
Markus Wolf
943f347327
fix: update output handling for reusable workflows ( #1521 )
...
* fix: map job output for reusable workflows
This fixes the job outputs for reusable workflows. There is
a required indirection. Before this we took the outputs from
all jobs which is not what users express with the workflow
outputs.
* fix: remove double evaluation
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-23 22:34:47 +00:00
ChristopherHX
606fd4bde1
fix: crash malformed composite action ( #1616 )
...
* fix: crash malformed composite action
* Add remote composite action test
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-23 22:16:07 +00:00
ChristopherHX
75baa9dc3b
feat: workflowpattern package ( #1618 )
...
* feat: workflowpattern package
* nolint:gocyclo
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-23 18:21:08 +00:00
R
c28143e1f9
fix: add GITHUB_STEP_SUMMARY ( #1607 )
2023-02-23 15:24:44 +00:00
Josh Soref
bfe9d9f671
fix: tolerate workflow that needs a missing job ( #1595 ) ( #1619 )
...
Change planner functions to return errors
This enables createStages to return `unable to build dependency graph`
Fix PlanEvent to properly report errors relating to events/workflows
2023-02-16 16:41:59 +00:00
ChristopherHX
de558842bb
chore: Remove obsolete Container.UpdateFromPath ( #1631 )
...
* chore: Remove obsolete Container.UpdateFromPath
* remove unused import
2023-02-16 16:11:26 +00:00
Jason Song
32b8839b68
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
1b88ccb803
fix: don't override env ( #1629 )
2023-02-16 15:16:46 +00:00
Jason Song
75820a6a3e
Upgrade act to v0.234.2 ( #20 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/20
2023-02-15 16:53:23 +08:00
Lunny Xiao
f1869f70b9
Allow request an insecure gitea server ( #18 )
...
When deploy a Gitea server with a self-signed HTTPS certification. Runner will be failed when connect to Gitea server. This PR will fix that to allow ignore the HTTPS certification verification.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/18
Reviewed-by: Jason Song <i@wolfogre.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-02-15 16:51:14 +08:00
Jason Song
6a47a64a2c
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/heroku@v2.0.1
```
Reviewed-on: https://gitea.com/gitea/act/pulls/14
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Jason Song <i@wolfogre.com>
Co-committed-by: Jason Song <i@wolfogre.com>
2023-02-15 16:28:33 +08:00
Lunny Xiao
7a2e7a8a9e
Support go run on action ( #12 )
...
Reviewed-on: https://gitea.com/gitea/act/pulls/12
Reviewed-by: Jason Song <i@wolfogre.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-02-15 16:10:15 +08:00
sitiom
41da84cbb5
ci: add Winget Releaser workflow ( #1623 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-13 17:59:19 +00:00
Aidan
e3667a54fe
Pass dockerfile to build executor ( #1606 )
...
This allows testing actions with non standard dockerfile names
Signed-off-by: Aidan Jensen <aidan@artificial.com>
2023-02-08 17:14:43 +00:00
dependabot[bot]
f81e2d6843
build(deps): bump github.com/docker/cli from 23.0.0-rc.1+incompatible to 23.0.0+incompatible ( #1611 )
...
* build(deps): bump github.com/docker/cli
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 23.0.0-rc.1+incompatible to 23.0.0+incompatible.
- [Release notes](https://github.com/docker/cli/releases )
- [Commits](https://github.com/docker/cli/compare/v23.0.0-rc.1...v23.0.0 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* update-test
* update test
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ChristopherHX <christopher.homberger@web.de>
2023-02-06 12:33:42 +00:00
dependabot[bot]
bc65473880
build(deps): bump megalinter/megalinter from 6.18.0 to 6.19.0 ( #1610 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 6.18.0 to 6.19.0.
- [Release notes](https://github.com/megalinter/megalinter/releases )
- [Changelog](https://github.com/oxsecurity/megalinter/blob/main/CHANGELOG.md )
- [Commits](https://github.com/megalinter/megalinter/compare/v6.18.0...v6.19.0 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-06 03:05:59 +00:00
ChristopherHX
02e21de560
refactor: GITHUB_ENV command / remove env.PATH ( #1503 )
...
* fix: GITHUB_ENV / PATH handling
* apply workaround
* add ctx to ApplyExtraPath
* fix: Do not leak step env in composite
See https://github.com/nektos/act/pull/1585 for a test
* add more tests
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-04 13:35:13 +00:00
Aidan
89a74e2a74
Update max container name length ( #1597 )
...
* Update max container name length
Signed-off-by: Aidan Jensen <aidan@artificial.com>
* Use hashed name instead to prevent conflicts
Signed-off-by: Aidan Jensen <aidan@artificial.com>
---------
Signed-off-by: Aidan Jensen <aidan@artificial.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-03 19:54:19 +00:00
Shubh Bapna
e8f2d13c43
feat: allow overriding of GITHUB_
env variables ( #1582 )
...
* allow overriding of GITHUB_ env variables
* bug fix for overriding env vars with empty string
* revert step.go
* refactor github_context to prevent lint failures. added more setters
* added ability to override github env variables
* handled base and head ref
2023-02-03 19:35:49 +00:00
Aidan
2164524d62
Docker build fixes ( #1596 )
...
- Join relative path and split dockerfile off to get context
Signed-off-by: Aidan Jensen <aidan@artificial.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-03 09:07:16 +00:00
ChristopherHX
596c0899f5
fix: Apply forcePull only for prebuild docker actions ( #1599 )
2023-02-02 17:24:35 +00:00
Casey Lee
4028d0c1ad
feat: cache notices to reduce frequency of upgrade notifications ( #1592 )
...
* feat: cache notices to reduce frequency of upgrade notifications
* fix: reduce WriteFile permissions
* fix: remove reference to deprecated lib
* fix: handle HTTP status 304
2023-02-01 16:54:57 -08:00
Casey Lee
4510ea8edd
chore: fix release script to trigger gh-act
2023-01-31 18:55:22 -08:00
Lunny Xiao
05b9701179
parse raw on ( #11 )
...
Reviewed-on: https://gitea.com/gitea/act/pulls/11
Reviewed-by: Jason Song <i@wolfogre.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-01-31 15:49:55 +08:00
Jason Song
54d3c0b84c
Erase needs of job in SingleWorkflow ( #9 )
...
Reviewed-on: https://gitea.com/gitea/act/pulls/9
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Jason Song <i@wolfogre.com>
Co-committed-by: Jason Song <i@wolfogre.com>
2023-01-30 11:42:19 +08:00
dependabot[bot]
2969fb1f4b
build(deps): bump golangci/golangci-lint-action from 3.3.1 to 3.4.0 ( #1590 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.3.1...v3.4.0 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-30 02:26:24 +00:00