Commit Graph

75 Commits

Author SHA1 Message Date
classabbyamp b14155fb2a .github/workflows/build: only add chroot-git to path during prep steps
fixes #52250
2024-09-17 13:34:32 -04:00
classabbyamp 8bdb540f12
.github/workflows: update image 2024-05-26 03:48:00 -04:00
classabbyamp 3288eca6bc
.github/workflows: update buildroot images 2023-12-30 00:42:56 -05:00
classabbyamp 7eab058511
.github/workflows/build.yaml: take chroot-git out of PATH for xlint 2023-09-09 00:29:57 -04:00
classabbyamp 28804b9596
.github/workflows/build.yaml: full git is needed for xlint 2023-09-09 00:23:41 -04:00
classabbyamp 0192981922 .github/workflows/build.yaml: verify the functionality of update-check 2023-09-08 04:33:16 -04:00
classabbyamp a6a74669ef .github/workflows/build.yaml: run xlint in a void container 2023-09-08 04:33:16 -04:00
classabbyamp ddc9cad62a
.github/workflows: update CI image 2023-09-04 15:43:16 -04:00
classabbyamp c828e16253
.github/workflows/{build,cycles}: use new buildroot images 2023-08-18 16:37:04 -04:00
classabbyamp 76c6e77f35
common/container: move masterdir image building to void-packages
see void-linux/void-docker#11
2023-08-18 16:36:02 -04:00
Michael Aldridge b6de07b1e0 .github/workflows: update masterdirs to 20230708RC01. 2023-07-08 15:33:18 -05:00
classabbyamp d7270a907d .github/workflows: update masterdir image 2023-04-25 16:07:05 -04:00
Duncaen 49effd02d2
.github/workflows: update containers to latest masterdir image 2023-02-04 15:05:05 +01:00
Michael Aldridge bd5a5b3146 .github/workflows: Use a different vintage of masterdir 2023-02-03 22:57:53 -06:00
Michael Aldridge 9dd29572de .github/workflows: update masterdirs 2023-02-03 21:34:36 -06:00
classabbyamp 08f062aad3 .github/workflows: use treeless-checkout-action 2023-01-29 20:54:40 -06:00
classabbyamp 1624cbb9a8
.github/workflows/{build.yaml,cycles.yml}: update masterdir image 2023-01-11 09:53:12 -05:00
classabbyamp 4410de52c1 .github/workflows: use checkout script instead of action
uses treeless fetches instead of `--depth`. This is not supported by
`actions/checkout`, so it was implemented as a short script (staying
with `actions/checkout@v1` does not seem like a good idea because of
its age, and updating to `actions/checkout@v3` would require adding
`libstdc++` to any CI workflows that run in void containers because
of node's requirements)

see also: https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/

this can't be implemented as a script in `common/travis/` because the
repo doesn't exist on the runner (yet!)

also fix indentation in cycle check
2022-12-21 01:15:15 -05:00
classabbyamp 302febbf6b .github/workflows/stale.yml: ignore tracking issues 2022-11-05 00:37:44 -04:00
classabbyamp e0c8a977c4 .github/workflows/build.yaml: add /usr/libexec/chroot-git to PATH 2022-10-25 14:23:46 -04:00
0x5c 97a1aaaa0d .github/workflows/stale.yml: update to v6
This fixes a bug where a stale issue/PR that gets updated without a comment
remains stale indefinitely and never gets closed (actions/stale#715).

The only "breaking" change in that upadate is that the default close reason has
changed to "not planned". That seems like a more desirable default anyways.
2022-09-30 02:09:51 -05:00
Đoàn Trần Công Danh 7510b96218 common: simplify logic to find git
From chroot-git 2.33.1, we always have an executable named git
for other build infrastructure and lints.

Let's remove the shenanegan to find which git to be used, prepend the
path to chroot-git's git into $PATH, and let's the shell call the
correct git for us instead.
2022-09-17 23:32:50 +07:00
Martin Dimov 4f2b781049 .github/workflows/stale.yml: fix format of exempt-issue-labels 2022-08-06 08:49:27 -04:00
Duncaen 92031434c9
.github/workflows: switch to repo-ci.voidlinux.org 2022-08-05 23:06:25 +02:00
Piotr Wójcik dc62938c67 .github/workflows/stale.yml: do not close issues labelled as bug 2022-08-02 19:44:49 +02:00
classabbyamp 1d9bfae23f .github/workflows/: set token permissions 2022-07-02 19:46:15 -05:00
classabbyamp ada037c9c1 .github/workflows/cycles.yml: update masterdir 2022-05-28 18:29:12 -03:00
Michael Aldridge 8fe764cd87 .github/workflows: Update masterdirs 2022-05-27 18:20:42 -05:00
classabbyamp 290d86ca28 .github/workflows/build.yaml: auto-cancel in-progress workflows 2022-05-17 11:52:50 -05:00
classabbyamp 0763ffbad8 .github/workflows/build.yaml: switch to ubuntu-latest 2022-05-17 11:52:50 -05:00
Piotr Wójcik 2381637340 .github/: skip file conflicts check if no packages are built
workflow was limited to branches modifying srcpkgs/, but this
still triggered when modifying only update files or removing template
2022-05-10 19:56:24 +02:00
classabbyamp 1c953b4173 common/travis/xpkgdiff.sh: add CI script to compare pkgs with xpkgdiff 2022-05-07 22:42:44 +02:00
Piotr Wójcik e900c63cf9 .github: check file conflicts in x86_64 build job 2022-05-05 21:29:41 +02:00
classabbyamp cd824936ce .github/workflows/cycles.yml: fix git command detection 2022-04-26 21:33:20 +02:00
classabbyamp 24378c52ea .github/workflows/cycle.yml: fix error message related to git 2.35.2+ 2022-04-26 19:56:22 +02:00
Duncaen b9ceee011e .github/workflows/stale.yml: don't tag issues with request label as stale
Closes: #36609 [via git-merge-pr]
2022-04-14 20:51:23 -05:00
classabbyamp c16bf1e4fe .github/workflows/stale.yml: increase operations limit
By setting `ascending` to `true`, the most stale issues and PRs will be
caught first. By increasing the operations limit from the default (30)
to 250, more stale issues/PRs will be caught each run, increasing the
speed of the burndown.
2022-04-14 19:49:46 -05:00
classabbyamp 7ce971f655 .github/workflows/build.yaml: only run on changes in srcpkgs/ 2022-04-14 13:41:22 -05:00
Michael Aldridge d6fc5518d5 .github/workflows: Enable actions/stale 2022-04-09 10:03:00 -05:00
Michael Aldridge 58c693ad0d .github/workflows: clean up cycle check 2022-04-01 23:58:48 -05:00
Michael Aldridge a2c813b113 .github/workflows: make stale comments workflow dispatchable 2022-03-29 21:49:29 -05:00
Michael Aldridge f841eea1cf .github/workflows: Add a workflow for dealing with stale issues/prs 2022-03-29 21:05:28 -05:00
Đoàn Trần Công Danh b4c6ac31f4 GitHub Action: build on push to branches designated for CI 2022-03-27 18:38:25 -05:00
Đoàn Trần Công Danh d74a3950fa github/workflow: don't install git 2021-10-27 07:37:34 +07:00
Piotr Wójcik 4fc5144f8e .github/workflows: open issue when cycle is detected 2021-06-30 21:09:10 +02:00
Piotr Wójcik 399a844150 .github/workflows: prepare container for xbps-cycles 2021-06-30 21:09:10 +02:00
Érico Nogueira 4eb9566121 .github/workflows: run xbps-cycles daily.
Should help in catching cyclic dependencies early.

Rename lockthreads.yml to include all scheduled CI tasks.
2021-06-30 21:09:10 +02:00
Đoàn Trần Công Danh 46e6063606 CI: make lint-commits part of xlint.sh
* CI will stop whenever a step is failing.
* We always want to enforce commit message lint
* `xlint` is reporting some false positive for license with " WITH "

Let's make the lint-commits part of xlint.sh
2021-05-31 17:47:56 +07:00
Piotr Wójcik d06bb7e98f workflows: fetch xbps for lint step 2021-05-27 21:18:38 +02:00
Đoàn Trần Công Danh 1f07584a66 common: add basic commit lint
Warn if:
* subject is longer than 50 characters

Error if:
* any lines are longer than 80 characters except it's footnotes
* second line is not blank
2021-05-21 15:56:44 +07:00