Commit graph

41 commits

Author SHA1 Message Date
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
É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
Anjandev Momi
b9029e1183 issue_template: add instructions to get pkg version 2020-06-20 14:04:12 +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
Piotr Wójcik
580a0beddd .github: discourage update requests 2019-08-02 20:07:25 +02:00
Michael Gehring
b9baac7cc6 .github: no need to run xuname under sudo 2017-11-11 20:00:22 -05:00
Michael Gehring
13772d8ece .github: remove redundant data points
arch/libc is already provided by xuname output
2017-11-11 20:00:22 -05:00
Enno Boland
89efdcfe61 .github: add issue template 2017-10-24 07:04:46 +02:00