490 Commits

Author SHA1 Message Date
Igor Pecovnik
bf5bbb81cf Awarding regular contributors - adding a special PR tag 2024-07-26 19:25:00 +02:00
ColorfulRhino
b6b8a89f10 actions: Create workflow to update shell tools via auto-PR
Some of our scripts download tools from a repo. These can't be bumped by dependabot, so this workflow is a self-created dependabot to bump versions of those tools to stay up-to-date.
This workflow only creates a PR if the version was actually updated.

Tools currently supported:
- Shellcheck (in 2 different files)
- Shellfmt
- oci-oras
- Bat
2024-07-18 11:54:02 +02:00
ColorfulRhino
28e859f7ce actions: forked-helper: Don't escape multiline strings
Not needed anymore with GITHUB_OUTPUT.
See https://github.com/orgs/community/discussions/26288#discussioncomment-3876281

Instead, use the `toJSON` function that Actions offers to convert the `event` object to JSON.
2024-07-18 11:43:38 +02:00
Igor Pecovnik
10be812ae6 actions: Remove deprecated action script command rebase
Not needed as it was integrated by GitHub
2024-07-11 18:02:32 +02:00
ColorfulRhino
8270010c1a github: Add new labels, e.g. Good first issue
Some other new labels were added by dependabot and are now synced to labels.yml
2024-07-11 18:02:32 +02:00
ColorfulRhino
6f664c92fd actions: Run YAML formatter over all workflow files 2024-07-11 18:02:32 +02:00
ColorfulRhino
2a27fdd4d0 actions: Small naming changes for some steps 2024-07-11 18:02:32 +02:00
ColorfulRhino
3fff477855 actions: Introduce run names for all workflows
This should make viewing the Action runs in the web UI more pleasant.
2024-07-11 18:02:32 +02:00
ColorfulRhino
f0ac613ebd actions: Add names to auto-labeler jobs 2024-07-11 18:02:32 +02:00
ColorfulRhino
a001fefc57 actions: Fix GITHUB_OUTPUT variables 2024-07-11 18:02:32 +02:00
dependabot[bot]
718aa52b17 build(deps): bump actions/upload-artifact from 4.3.3 to 4.3.4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.3 to 4.3.4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](65462800fd...0b2256b8c0)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-09 06:19:56 +02:00
ColorfulRhino
cb7401babf actions: labeler: Fix label colors by removing # prefix 2024-06-27 23:13:20 +02:00
ColorfulRhino
abf45aff9f github: Add issue reference to pull request template
Make it easier for people to link to relevant tasks or bugs for a PR.
2024-06-27 23:12:33 +02:00
ColorfulRhino
2eb61eeaca github: Add "Task" issue template for project management 2024-06-27 23:12:33 +02:00
ColorfulRhino
a20eb260cb github: Improve bug and feature request templates
- Add feature request label
- Automatically assign the correct label
- Slight label and wording improvements
2024-06-27 23:12:33 +02:00
ColorfulRhino
1e0e72d58f github: Rename issue templates for ordering
See https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#changing-the-order-of-templates
2024-06-27 23:12:33 +02:00
ColorfulRhino
6371e92919 actions: labeler: Add new "GitHub" label for auto-labeling 2024-06-26 18:07:18 +02:00
ColorfulRhino
4c70b0ac9d actions: labeler: Add new "BSP" label for auto-labeling 2024-06-26 18:07:18 +02:00
ColorfulRhino
2daf262ce0 actions: labeler: Add new label "Documentation finished"
Description: "New feature was properly added to docs"
2024-06-26 18:07:18 +02:00
ColorfulRhino
c3756dae68 actions: Use "all-globs" instead of "any-glob" for negated checks
If we want to check if a file is not from one of the listed folders, it needs to be check that
"NOT x AND NOT y AND NOT z" is true, instead of
"NOT x OR NOT y OR NOT z"
2024-06-25 07:06:47 +02:00
ColorfulRhino
cade8cf4ab dependabot: Add weekly update check for Pip requirements.txt packages 2024-06-25 07:06:21 +02:00
ColorfulRhino
5a19cb410e actions: Have auto-labeler check subdirectories
This fixes a lot of labels not getting applied properly.
2024-06-19 20:50:48 +00:00
ColorfulRhino
5dcb33a960 actions: Fix typo in actions/labeler labeler.yml (#6745)
It's not "any-globs-to-all-files", but "any-glob-to-all-files"
2024-06-15 09:44:48 +02:00
ColorfulRhino
8d7d6f44c7 actions: Fix typo in actions/labeler labeler.yml 2024-06-14 14:56:22 +00:00
ColorfulRhino
1a468dc390 actions: Add "Documentation" label category to actions/labeler 2024-06-14 14:56:22 +00:00
ColorfulRhino
cf5363c2af actions: Add "Patches" label category to actions/labeler 2024-06-14 14:56:22 +00:00
ColorfulRhino
5b1a3b8ff6 actions: Fix actions/labeler correctly labeling desktop folders 2024-06-14 14:56:22 +00:00
ColorfulRhino
0e7e76dcb1 actions: Rename PR-specific workflows with "pr-" prefix 2024-06-09 16:30:45 +00:00
ColorfulRhino
1129cf42be actions: Combine PR labeling jobs into a single workflow 2024-06-09 16:30:45 +00:00
ColorfulRhino
ce73634bf6 actions: Don't run shellcheck if PR message or title was updated
Also fix typos.
2024-06-09 16:30:45 +00:00
ColorfulRhino
5d7637ca0e actions: Don't start build workflow on PR 'reviewer_requested' trigger
The PR build workflow does not need to be started every time a single
reviwer is added, since requesting a review does not change the build.
If the 'Build' label was already added earlier, the build workflow will
have been started already.
2024-06-09 16:30:45 +00:00
ColorfulRhino
bc515b0cc3 actions: Move concurrency canceling to 2nd job for PR build
On every PR, a workflow is started to check if artifacts should be
built. This happens not only once, but many times, e.g. for every
selected reviewer. Since the workflow has `cancel-in-progress`
enabled, workflows are started and immediately cancelled by the
next one, resulting in many notifications.
Move the `cancel-in-progress` concurrency policy to the second job
which starts only after a check is done if the 'Build' label is even
active on the PR. This should greatly reduce "Workflow cancelled"
notifications via GitHub and email (if enabled by the user).

Also make wording more clear.
2024-06-09 16:30:45 +00:00
dependabot[bot]
9fa690c203 build(deps): bump ossf/scorecard-action from 2.3.1 to 2.3.3
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.1 to 2.3.3.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](https://github.com/ossf/scorecard-action/compare/v2.3.1...v2.3.3)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-14 06:12:51 +01:00
igorpecovnik
07a7a802d4 Automatic board configs status synchronise 2024-04-26 15:10:43 +08:00
dependabot[bot]
327a6664a4 build(deps): bump actions/upload-artifact from 4.3.1 to 4.3.3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.1 to 4.3.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](5d5d22a312...65462800fd)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-23 03:05:07 +08:00
dependabot[bot]
2987f3c23c build(deps): bump pascalgn/size-label-action from 0.5.0 to 0.5.2
Bumps [pascalgn/size-label-action](https://github.com/pascalgn/size-label-action) from 0.5.0 to 0.5.2.
- [Release notes](https://github.com/pascalgn/size-label-action/releases)
- [Commits](https://github.com/pascalgn/size-label-action/compare/v0.5.0...v0.5.2)

---
updated-dependencies:
- dependency-name: pascalgn/size-label-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-23 03:04:51 +08:00
dependabot[bot]
41c909194f build(deps): bump tj-actions/changed-files from 43 to 44
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 43 to 44.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v43...v44)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-01 20:46:29 +02:00
ColorfulRhino
03c51a301a GH Actions: Beautify kernel hardening analysis
GitHub job summaries do not support colored output, but the kernel hardening script is using colored output. Thus, the job summary in the Actions panel is littered with ugly characters. This commit replaces them with emojis to enhance visibility.
2024-03-26 23:26:36 +01:00
dependabot[bot]
6d482450b8 build(deps): bump tj-actions/changed-files from 42 to 43
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 42 to 43.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v42...v43)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 19:39:18 +01:00
ColorfulRhino
00e3f44c91 GH Actions: Kernel hardening analysis: Exclude RISC-V configs
RISC-V is not yet supported by kernel-hardening-checker. See https://github.com/a13xp0p0v/kernel-hardening-checker/issues/56
2024-03-17 13:28:28 +00:00
ColorfulRhino
46a591e66a GH: ISSUE_TEMPLATE: Improve bug report template
- Don't have pre-placed text in text boxes which have to be deleted each time (placeholder/light grey background text is still there)
- Add latest host systems
- Add optional checkbox if building on WSL2
- Small wording improvements/changes
2024-03-16 22:31:43 +01:00
igorpecovnik
25d8456b2a Automatic board configs status synchronise 2024-03-15 18:13:13 +01:00
Igor Pecovnik
5053423925 Extend PR template when asking for documentation 2024-03-11 19:45:52 +01:00
ColorfulRhino
8cd1a3d15e GH Actions: Update README.md on how to create and use ARMBIAN_SELF_DISPATCH_TOKEN 2024-03-09 20:03:52 +01:00
ColorfulRhino
d3a6e0b26f GH Actions: forked-helper: Fix deprecated ::set-output, fix 404 link
::set-output has been deprecated in 2022: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2024-03-09 20:03:52 +01:00
Igor Pecovnik
aa702a398a GH actions: Kernel hardening analysis path and name of a tool has been changed 2024-03-08 15:56:23 +01:00
igorpecovnik
15f747f871 Automatic board configs status synchronise 2024-03-06 15:25:08 +01:00
igorpecovnik
764e267b4b Automatic board configs status synchronise 2024-03-03 16:57:38 +01:00
dependabot[bot]
fa3c79675a build(deps): bump actions/upload-artifact from 4.3.0 to 4.3.1 (#6273)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](26f96dfa69...5d5d22a312)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-12 20:06:16 +01:00
Igor Pecovnik
940793f908 Enable workflow_dispatch command for labels regenerate 2024-01-30 13:17:39 +01:00