Commit Graph

32 Commits

Author SHA1 Message Date
Đ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
É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
Érico Rolim d946fe791d .github/workflows: run tests on CI for native builds.
Also:
- fix "list contents" step by adding a fetch-xtools step.
- remove git from masterdir to not interfere with builds (thanks @sgn)
2020-12-14 00:18:04 -03:00
Đoàn Trần Công Danh 7dd89d0df3 GitHub Action: install xtools for "show files" step 2020-12-14 08:17:44 +07:00
Tim Sandquist b9da5abd55 Update source for GitHub Actions 2020-12-07 19:46:12 +01:00
Érico Rolim 55f0c47176 .github/workflows/build: don't skip CI when PR is a draft.
When a PR is marked as ready for review (no longer a draft), CI isn't
re-run automatically, so no tests are run until the PR is updated. Even
trying to manually re-run the jobs doesn't fix this, since GH appears to
remember the PR state instead of using the current one.
2020-11-22 21:56:19 -03:00
Érico Rolim d97410a07a .github/workflows: add build.yaml.
This commit enables CI on GitHub Actions.

Taken from nilium's repository:

e9bf829752/.github/workflows/build.yaml

Plus a few changes:

- only run CI on PRs
- don't run CI on draft PRs or when a PR title or body contains "[ci skip]"
- remove some names
- use more recent void containers
- fix XBPS self update
2020-11-13 19:33:25 -03:00
Duncaen f3504e5986
.github: disable notice mode for issue/pr/push notifications 2020-08-26 10:54:56 +02:00
Enno Boland f5587cae21
.github/workflows: make IRC notify steps non-fatal 2020-01-27 22:16:13 +01:00
Enno Boland 31d28c0a2e .github/workflows: Shorten the URLs from github 2019-12-20 13:44:48 +01:00
Enno Boland 87319512a6
.github/workflows: use a dedicated workflow for each event 2019-12-19 23:01:07 +01:00
Enno Boland 4fa9af7561 .github/workflows: Use Gottox/irc-message-action to avoid the docker overhead 2019-12-19 17:53:27 +01:00
Enno Boland daffd7342f .github/workflows: add a 3 minute timeout to the irc notifications 2019-12-19 17:53:27 +01:00
Enno Boland a9f3b5c61d .github/workflows: Show URLs instead of issue and PR #s. 2019-12-19 17:53:27 +01:00
Enno Boland 1978f8da23 .github/workflows: use notices instead of privmsg
this prevents the bot from joining.
2019-12-19 17:53:27 +01:00
Duncaen eb2fa6f5a7
.github/workflows: use registered user 2019-12-18 21:50:29 +01:00
Duncaen 0d54b8733f
.github/workflows: fix pull request message again 2019-12-18 21:16:14 +01:00
Duncaen 928fe3ba78
.github/workflows: fix messages 2019-12-18 20:37:16 +01:00
Duncaen 85d48cd1bd
.github/workflows: revert notice 2019-12-18 20:30:52 +01:00
Duncaen 1e504671ce
.github/workflows: try to make irc notifications more useful 2019-12-18 20:28:46 +01:00
Enno Boland b4db900aa5 .github/workflows: add irc notification workflow 2019-12-18 15:32:03 +01:00