summaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/lintcommit.yml
AgeCommit message (Collapse)AuthorFiles
2026-03-09ci: set default permissions for workflowsDaniel Hast1
The default workflow permissions are overly broad; setting permissions explicitly at the workflow level ensures excessive permissions are not unintentionally granted to jobs. For details, see: https://docs.zizmor.sh/audits/#excessive-permissions
2026-03-09ci: don't persist git credentials on diskDaniel Hast1
Set `persist-credentials: false` for all uses of `actions/checkout`. This prevents git credentials from being stored on disk, and fixes the following Zizmor audit: https://docs.zizmor.sh/audits/#artipacked
2025-11-21ci: bump actions/checkout from 5 to 6dependabot[bot]1
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [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/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2025-08-11ci: bump actions/checkout from 4 to 5 #35305dependabot[bot]1
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [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/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-17ci: skip lintcommit workflow on release branchesdundargoc1
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-16ci: run workflows on release branchesdundargoc1
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.
2023-12-09ci: refactor CI filesdundargoc1
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-01ci: create setup actiondundargoc1
This deduplicates common operations.
2023-11-03ci: various fixesdundargoc1
- 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-09-04ci: bump actions/checkout from 3 to 4dependabot[bot]1
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-04-29ci: run lintcommit with cmake targetdundargoc1
This increases CI time, but prevents situations where it works on CI but not locally.
2023-04-22ci(lintcommit): fix error outputdundargoc1
Using print() alone doesn't work properly, toggling the verbose option is still required.
2023-04-22ci(lintcommit): use nvim -lLewis Russell1
2023-04-16ci: remove unnecessary token usagedundargoc1
2023-02-11ci: run lintcommit file from PR branch (#22219)dundargoc1
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-09ci(lintcommit): turn off debug tracing (#22196)dundargoc1
The default output is too verbose and messy for someone not already familiar with lintcommit, which defeats it purpose.
2022-12-01ci: rename workflow files to be simpler and more consistent (#21253)dundargoc1