aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
Commit message (Collapse)AuthorAgeFilesLines
* Clean up github actions (#24984)silverwind2023-05-303-36/+59
| | | | | | | - Merge the file filters into `files-changed.yml` - Remove unused yaml anchors like `&backend` - Merge the `compliance-docs` workflow into `compliance` - Add actions linting - Misc cleanups for whitespace and step names
* Fix documentation ref (#24934)Lunny Xiao2023-05-261-0/+1
| | | Fix documentation ref
* Use file filters action instead of Github's files filter (#24877)Lunny Xiao2023-05-2510-122/+77
| | | | | | | | | | | | | | | Inspired by https://github.com/go-gitea/gitea/pull/24530#issuecomment-1558815301 This PR use a file filter action to do different CI jobs according changed files types. All types are defined in `.github/file-filters.yml`. Now there are 4 types, `docs`, `backend`, `frontend` and `build`. Then if a PR only changed docs files, those CI jobs which passed the conditions will run, and other types are also like this. --------- Co-authored-by: silverwind <me@silverwind.io>
* Remove publish docs CI workflow (#24889)techknowlogick2023-05-231-29/+0
| | | | Now that the redirect to docs.gitea.com is in place this is no longer needed.
* replace `drone exec` to `act_runner exec` in test README.md (#24791)a10121127962023-05-181-5/+5
|
* Ignore build for docs only (#24761)Lunny Xiao2023-05-171-0/+30
| | | Fix https://github.com/go-gitea/gitea/pull/24530#issuecomment-1550227919
* Don't run build and test if only docs changed (#24530)Lunny Xiao2023-05-1611-5/+101
| | | Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Update cron-translations.yml (#24708)Lunny Xiao2023-05-141-0/+1
| | | Fix cron translations push failure
* fix minio storage iterator path (#24691)FuXiaoHei2023-05-131-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | minio storage iterator shows different behavior with local fs iterator. in local fs storage: ``` go s.IterateObjects("prefix", func(path,obj) println(path) // show "prefix/xxx.file" }) ``` in minio storage: ```go s.IterateObjects("prefix", func(path,obj) println(path) // show "xxx.file" }) ``` I think local fs is correct, minio use wrong `basePath` to trim storage path prefix. --------- Co-authored-by: Giteabot <teabot@gitea.io>
* GitHub Actions cleanups (#24620)silverwind2023-05-1112-286/+171
| | | | | | | | | | - Remove actions name where command is descriptive enough - Use kebab-case instead of snake-case for step names - Use shorter job names because to make PR checks more readable - Remove duplicate `checks-backend` --------- Co-authored-by: Yarden Shoham <git@yardenshoham.com>
* Kd/fix redis unit test (#24650)Kyle D2023-05-111-0/+10
| | | | | | | | | Replaces #24641 Currently, unit tests fail when run locally (unless users have minio instance running). This PR only requires redis unit tests if in CI. - Only run redis unit tests when `CI` env variable is set - Add minio as a service in unit tests actions
* Check latest version on CI (#24556)Lunny Xiao2023-05-062-0/+6
|
* automate locking closed threads (#24525)techknowlogick2023-05-051-0/+21
| | | | | | | | | With comments happening on closed issues/prs this locks issues that have been closed for >45days. This allows for comments on recently closed issues/prs to still happen. --------- Co-authored-by: silverwind <me@silverwind.io>
* Upgrade to Node 20 on CI, enable actions cancellation (#24524)silverwind2023-05-045-5/+25
| | | | | | | | | | | | - Upgrade node, the [snap](https://github.com/go-gitea/gitea/blob/7abe958f5b507efa676fb3b2e27d30517f6d1908/snap/snapcraft.yaml#L47) is excluded from this because [there is no Node 20 snap yet](https://snapcraft.io/node). - Add actions build cancellation based on [this](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-a-fallback-value). --------- Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Use Actions for DB & E2E tests (#24494)techknowlogick2023-05-048-7/+428
| | | | | | | | | | following https://github.com/go-gitea/gitea/pull/24314 and https://github.com/go-gitea/gitea/pull/24434, this PR moves drone cron pipelines to (GitHub) Actions. As these are mostly compatible with Gitea Actions, when we start to dogfood, these will already be migrated. --------- Co-authored-by: silverwind <me@silverwind.io>
* replace PR docker dry run in drone with Actions (#24475)techknowlogick2023-05-011-0/+19
| | | | | | | | As before with past PRs to switch Drone pipelines to use (GitHub) Actions. --------- Co-authored-by: silverwind <me@silverwind.io>
* correct env varstechknowlogick2023-05-011-1/+1
|
* target correct conditionaltechknowlogick2023-05-011-2/+2
|
* Move docs pipelines to use Actions (#24434)techknowlogick2023-04-302-0/+53
| | | | | | | | similar to #24314, this moves drone cron pipelines to (GitHub) Actions. As these are mostly compatible with Gitea Actions, when we start to dogfood, these will already be migrated. I also removed the discord notify pipeline, as it hasn't been working for several months.
* on scheduletechknowlogick2023-04-251-1/+1
|
* on scheduletechknowlogick2023-04-251-1/+1
|
* switch to use Actions from drone for cron (#24314)techknowlogick2023-04-252-0/+75
Move drone cron pipelines to (GitHub) Actions. As these are mostly compatible with Gitea Actions, when we start to dogfood, these will already be migrated.