dundargoc
0500804df5
ci: skip lintcommit workflow on release branches
...
Since lintcommit is a required check, it will always need to be run.
However, the lintcommit script is not designed to work on PRs that
doesn't target master branch (and it's not clear whether it's even
desirable).
To circumvent this we create a "dummy" lintcommit check that is run on
release branches that always passes, thus fulfilling the condition of
the required check.
2024-07-17 16:40:59 +02:00
dundargoc
a5d4e3467d
ci: run workflows on release branches
...
Github doesn't allow workflows to be run from the `github-actions`
account, which is the default account. This caused the CI on backport
PRs to not be run. The way to circumvent this is to use a token that
essentially "pretends" to be another user, which in turn triggers the CI
as desired.
Also run lintcommit on release branches as that is now a required check,
meaning it must always be run.
2024-07-16 14:15:50 +02:00
dundargoc
dd81e1e334
ci: refactor CI files
...
Mostly rename file and variable names to be more consistent. This makes
it easier to locate them in the "Actions" tab on github.
2023-12-09 14:14:38 +01:00
dundargoc
ce6fefbab9
ci: create setup action
...
This deduplicates common operations.
2023-12-01 16:59:23 +01:00
dundargoc
9ad239690f
ci: various fixes
...
- adjust reviewers
- add workflow as cache key
- install attr only when tesitng
- fix s390x workflow by checking out the merge PR instead of master
2023-11-03 22:16:45 +01:00
dependabot[bot]
cf7d37ad13
ci: bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 23:20:30 +02:00
dundargoc
13a24b905e
ci: run lintcommit with cmake target
...
This increases CI time, but prevents situations where it works on CI but
not locally.
2023-04-29 14:30:54 +02:00
dundargoc
ccce200cde
ci(lintcommit): fix error output
...
Using print() alone doesn't work properly, toggling the verbose option
is still required.
2023-04-22 17:37:45 +02:00
Lewis Russell
732cb9e1e0
ci(lintcommit): use nvim -l
2023-04-22 15:10:35 +02:00
dundargoc
55d346fc26
ci: remove unnecessary token usage
2023-04-16 14:16:19 +02:00
dundargoc
b0d156c00b
ci: run lintcommit file from PR branch ( #22219 )
...
As the trigger type is no longer pull_request_target there is no longer
any risk of using the lintcommit script directly from the user PR.
2023-02-11 13:22:54 +01:00
dundargoc
eb3f8989a0
ci(lintcommit): turn off debug tracing ( #22196 )
...
The default output is too verbose and messy for someone not already
familiar with lintcommit, which defeats it purpose.
2023-02-09 23:23:48 +01:00
dundargoc
adda751407
ci: rename workflow files to be simpler and more consistent ( #21253 )
2022-12-01 10:55:34 +01:00