Commit Graph

14 Commits

Author SHA1 Message Date
chao an
7afa9b51ea ci/check: install format tool before run style check script
Signed-off-by: chao an <anchao@xiaomi.com>
2023-07-25 10:48:01 +02:00
Nathan Hartman
e4376a0e60 NuttX graduated the Incubator; update repository links 2022-11-26 11:59:17 -08:00
Brennan Ashton
393df6762e CI: Update worker base OS version 2022-11-22 01:28:48 +08:00
dependabot[bot]
452d5352d5 build(deps): bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [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/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-21 23:23:30 +08:00
naveen
83ea328ef5 chore: Set permissions for GitHub actions
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-21 16:43:58 +03:00
Xiang Xiao
2f74de6f02 .github/workflows/check.yml: Enable Change-ID check explicitly
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-09 22:08:27 +02:00
Gustavo Henrique Nihei
82646b9564 ci: Use GitHub Actions concurrency for cancelling duplicate jobs
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-12-18 07:14:25 -06:00
Brennan Ashton
c6ee2bf140 CI: Only use approved GitHub Actions
This also brings the workflow files inline what is in the os repo

Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-12-30 00:36:36 +01:00
Brennan Ashton
bef5dc32a7 CI: Fix check patch to handle renames / deletes
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-09-03 20:08:01 -03:00
liuhaitao
d7a5313aca Revert "CI: use 'git diff $commits' as a whole patchset to do checkpatch"
This reverts commit 9c4cdc5331.

If one PR is on a former master code base, using 'git diff $commits' would result in
abnormal checkpatch report sometimes. So revert it anyway.
2020-05-09 14:10:48 +08:00
liuhaitao
9c4cdc5331 CI: use 'git diff $commits' as a whole patchset to do checkpatch
So avoid the duplicate print logs sometimes and rename file not opened issue.

Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-05-08 17:26:16 +01:00
liuhaitao
d2625c8b9d CI: refine checkpatch commits in check.yml
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-04-16 21:09:54 +08:00
YAMAMOTO Takashi
e0a61da5cc Rename workflows to match build.yml 2020-04-15 17:02:05 +08:00
YAMAMOTO Takashi
e6607179f8 CI: Separate the workflow into a few pieces 2020-04-01 00:10:36 +08:00