Commit Graph

74 Commits

Author SHA1 Message Date
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
classabbyamp 6a0b769cb9 .github/pull_request_template.md: update pkg reqs url 2022-08-12 15:52:07 -04:00
classabbyamp b4e0c0dcc9 .github/ISSUE_TEMPLATE/pkg-request.yml: update pkg reqs url 2022-08-12 15:52:07 -04: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
Michal Vasilek 795c47b1b9 .github/issue_template: discourage update requests
This is only mentioned in the bug report issue template, so some people
miss it because they don't look at the bug report issue template and
just open an issue without a template.
2022-07-24 17:52:38 +02:00
classabbyamp 6f35568125 .github/issue_template.md: remind issue creators of issue forms 2022-07-18 16:41:40 -04:00
classabbyamp 1d9bfae23f .github/workflows/: set token permissions 2022-07-02 19:46:15 -05:00
classabbyamp fa0a7a3c81 .github/ISSUE_TEMPLATE: add bug report and package request issue forms
Co-authored-by: 0x5c <dev@0x5c.io>
2022-06-16 23:44:48 -04: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
Michael Aldridge 3a5377265a various: change default repo to repo-default.voidlinux.org 2022-05-27 17:24:24 -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
mhmdanas cb3aca7fbb .github: remove extraneous whitespace 2022-05-08 00:04:08 +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
tibequadorian 9e0b0f4e74 .github: improve the PR template
* avoid confusion with [skip CI] and [ci skip]
2022-03-26 16:45:23 +01:00
Michal Vasilek 980cf96a29 .github: improve the PR template
* switch from using checkboxes to **YES**|**NO** options
* make it clear that filling out the part about manual builds is only
  necessary when the CI is skipped, this was easy to miss
2021-11-09 23:31:51 +00: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
Érico Nogueira 5ff646870d .github/workflows: only lock PRs, not issues. 2021-03-25 22:33:04 -03:00
Érico Rolim e03147ee62 .github/workflows: add CI run to lock closed threads.
Closed PRs will be locked after 90 days of inactivity, to avoid comments
on old inactive threads and encourage people to create new ones, which
will receive the proper attention.

Inspired by hook from fish-shell:
a36dbad3b8/.github/workflows/lockthreads.yml
2021-03-24 00:13:25 -03:00
Michael Aldridge 770367e193 .github/workflows: Pull masterdirs from ghcr 2021-03-15 16:04:13 -07:00
Piraty c474e2d3a9 .github: add notice to delete the [ci skip] block
if the commented block is left in the PR text, CI won't run
2021-01-18 15:01:04 +01:00
Piraty fbd0952876 .github: add pull request template 2021-01-18 13:17:37 +01:00
Érico Rolim 9d64f0940e .github/workflows: shorten step list.
This makes CI results more concise.
2021-01-03 18:55:15 -03:00
Érico Rolim b6e7863cbd .github/workflows: add script to check that packages can still be
installed.

This will allow us to confirm the repository's staging state in CI.
2020-12-23 16:14:53 -03:00
Michael Aldridge 9b61bf5df5 .github/workflows: Remove old notifications 2020-12-20 22:11:54 -08:00