Commit Graph

59 Commits

Author SHA1 Message Date
Ed Maste 37de3763b8 CODEOWNERS: Add myself for openssh and makefs 2026-01-21 10:09:58 -05:00
John Baldwin 3a6289e1e5 .github: Disable checklist workflow on forks
Reviewed by:	imp
Obtained from:	CheriBSD
Sponsored by:	AFRL, DARPA
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1973
2026-01-19 10:56:20 -05:00
Brooks Davis a01a4c0730 CODEOWNERS: register interest in some infrastructure 2026-01-16 09:43:12 +00:00
John Baldwin 4ba8df2a8b .github: Narrow sys/crypto warning to sys/crypto/skein
This is the only subdirectory of sys/crypto that is a vendor import.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D54719
2026-01-15 13:23:07 -05:00
Jose Luis Duran fd26fb8987 CODEOWNERS: Add jlduran as a blocklist CODEOWNER
Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D54696
2026-01-14 17:07:56 +00:00
Robert Clausecker c1d7c95789 CODEOWNERS: add @fuz for libc/string
Approved by:	markj (mentor)
Differential Revision:	https://reviews.freebsd.org/D54664
2026-01-13 13:51:27 +01:00
Alexander Ziaee 7ff1d2be5d MAINTAINERS/CODEOWNERS: Fix intro wrap + gitadm
+ svnadmin has apparently been superceeded by gitadm@
+ fix intro prose wrapping to be consistent at 72 for trad console

MFC after:	3 days
2026-01-12 09:36:18 -05:00
Alexander Ziaee 2fb7c416c8 MAINTAINERS/CODEOWNERS: Add ziaee to mandoc + man/
If you tag me on manual reviews, I will help you. I'm very intersted in
helping keep things standard and predictable across the manual. As these
files say, this is not intended to imply any desire for blocking.

MFC after:	3 days
2026-01-12 09:34:57 -05:00
Warner Losh 7f8b4db9e0 github: Add more context to pull requests
Add code to fetch and decode CODEOWNERS and automatically @ people in
the review.

Create a new file, .github/path-rules.txt that has a set of paths to
match and specific warnings about that part of the tree. We'll use this
to try to wave off pull requests in certain areas of the tree, as well
as remind people when contrib is involved, etc.

Sponsored by:		Netflix
2026-01-12 00:18:11 -07:00
Warner Losh 0b908de1d0 CODEOWNERS: Better reflect current #bhyve
So as a proof of concept, sync the info we have with the #bhyve
phabricator group. This is imperfect, but will help test out providing
better feedback to diff submitters.

Sponsored by:		Netflix
2026-01-11 17:55:15 -07:00
Warner Losh 9b54998d1b MAINTAINERS/CODEOWNERS: Add myself to mpr, mps and mpi3mr
Yea, I realize these are decaying, but I'm going to take a run at
automatically tagging reviews for github pull requests. I suspect that
tagging will help with the 'stale' issues with at least CODEOWNER.  As
better data becomes available, especailly for contrib, I'll update
things.

Sponsored by:		Netflix
2026-01-11 12:36:02 -07:00
Ed Maste 73a4459f6f GitHub: Enclose list of commit hashes in parens
Rather than superscript <sup>, for a nicer looking list.

Reviewed by:	vexeduxr
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53000
2025-11-14 16:36:22 -05:00
Andrew Turner cf58399728 .github: Update to use llvm 15
This is the latest supported version in Ubuntu 22.04

Reviewed by:	vexeduxr, imp, emaste
Sponsored by:	Arm Ltd
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1862
2025-09-11 21:30:07 +01:00
John Baldwin ad43e7f472 .github: Use make.py's --cross-toolchain option on macOS
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D51749
2025-08-06 16:14:37 -04:00
Ed Maste 92c3796d05 GitHub: Use a link for CONTRIBUTING.md in comment
Make it easy for contributors to find the referenced information.

Reviewed by:	ziaee
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D51346
2025-07-27 17:01:55 -04:00
Ed Maste f38ac6f27a GitHub: Provide more context in pull request issue comment
Be explicit that the user should update their branch and re-push to
update the pull request.

Reviewed by:	imp
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D51332
2025-07-16 10:34:20 -04:00
Ahmad Khalifa 8528d7e4f6 github: Fix checklist action
Workflows triggered by the 'pull_request' event can't have write
permissions. With write permissions a malicious pull request can alter
or create a workflow that either leaks the GITHUB_TOKEN with the write
permissions or do malicious things in the workflow itself.

The 'pull_request_target' event on the other hand allows workflows to
run with write permissions but runs on the merge base of the PR, this
way a pull request that alters such a workflow will not have it's code
run until it's merged.

Signed-off-by: Ahmad Khalifa <ahmadkhalifa570@gmail.com>
Reviewed by: imp, emaste
Pull Request: https://github.com/freebsd/freebsd-src/pull/1581
2025-04-28 15:27:29 -06:00
Andrew Turner 487c7245a7 Revert "WIP: Cross-build github action on for-main"
It shouldn't have been pushed

This reverts commit d16397c173.
2025-04-08 11:59:48 +01:00
Andrew Turner d16397c173 WIP: Cross-build github action on for-main 2025-04-08 11:31:43 +01:00
Ahmad Khalifa a9a6a51eda github: Add new checklist workflow
Add a new 'checklist' workflow that checks the commit messages on pull
requests. Currently, the workflow creates a comment on the pull request
if any of these conditions are hit:
  - Missing Signed-off-by
  - Malformed Signed-off-by
  - Bad email (i.e *noreply*)

Reviewed by:	emaste, imp
Pull request:	https://github.com/freebsd/freebsd-src/pull/1570

Signed-off-by: Ahmad Khalifa <ahmadkhalifa570@gmail.com>
2025-01-24 15:27:08 -05:00
Ahmad Khalifa 5889ab4b1c github: limit paths for style workflow
Signed-off-by: Ahmad Khalifa <ahmadkhalifa570@gmail.com>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1538
2024-12-05 17:59:51 -07:00
Ahmad Khalifa e0231d3cd3 github: optimize style workflow
Only fetch the commits we need instead of fetching the entire history.

Unfortunately there doesn't seem to be a way to add 1 to the number of
commits without an extra step, so do it in a new step and pass the
information onto $GITHUB_ENV so it can be used later.

Signed-off-by: Ahmad Khalifa <ahmadkhalifa570@gmail.com>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1538
2024-12-05 17:59:51 -07:00
Andrew Turner edc692b905 .github: Update the clang release used for macos
Reviewed by:	emaste, jhb
Sponsored by:	Arm Ltd
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1399
2024-10-21 13:23:16 +01:00
Andrew Turner 386e2dc442 .github: Use the two most recent LTS releases
Ubuntu 24.04 is the most recent LTS release. Use it and the previous
22.04 LTS for cross build testing.

Reported by:	emaste, jhb
Sponsored by:	Arm Ltd
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1399
2024-10-21 13:23:16 +01:00
Jose Luis Duran 1991946cff CODEOWNERS: Add nuageinit 2024-07-25 11:15:29 +02:00
John Baldwin 1091f525df .github: Update the path used for the homebrew LLVM install on macOS
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1212
2024-05-02 15:05:15 -07:00
John Baldwin e6dccf0050 .github: Switch to v4 of actions/checkout
GitHub is emitting a warning that v3 is deprecated due to using
Node.js 16.
2024-03-04 21:52:09 -08:00
Warner Losh 0854004bba CODEOWNERS: Add Stephane Rochoy
Stephane Rochoy isn't quite the maintainer of these items, but has an
interest in them. As an experiment, see if this is a viable thing to do.
2024-03-01 09:18:08 -07:00
Andrew Turner 78cc457123 .github: Enable manually running github actions
Sponsored by:	Arm Ltd

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/878
2024-02-02 21:05:49 -07:00
Andrew Turner f81301744e .github: Build stable/14
Sponsored by:	Arm Ltd

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/878
2024-02-02 21:05:49 -07:00
Warner Losh 33326dd5f5 github: Enable github workflow output from checkstyle9.pl
Let's see if we can get the style issues flagged inline.

Sponsored by:		Netflix
2024-02-01 22:53:58 -07:00
Jose Luis Duran 08efe9bef4 GitHub: style: Add the synchronize activity type
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1064
2024-01-15 17:58:31 -07:00
Warner Losh 46ebf11f5a MAINTAINERS: Add myself for nvme entries, remove jimharris
Jim Harris no longer has a commit bit and has moved on from being the
FreeBSD nvme driver maintainer at Intel. I've been reviewing things
so I'll take that up.

Sponsored by:		Netflix
2024-01-12 12:12:15 -07:00
Warner Losh 178679daa9 MAINTAINERS, etc: Remove hselasky entries
Sadly, Hans-Peter has passed away. Remove his entries out of respect for
his many years of service to the project.
2024-01-12 12:02:28 -07:00
Warner Losh e5b33e6eef style.yml: Don't run this on branch pushes
We don't need to run this on branch pushes, just pull requests. It's
designed to be a gross filter for incoming commits, not something
perfect we need to keep green. It also doesn't work quite right for
branch pushes anyway and needs adjustment.

Also remove some debugging information. We don't need it anymore.

Noticed by:	jrtc27
Sponsored by:	Netflix
2024-01-06 20:46:42 -07:00
Warner Losh dbee52c9d6 Connect my checkstyle9.pl script to a action.
Connect the checkstyle9.pl script to a github action. This will provide
feedback to people submitting changes when the style is grossly wrong. And
can provide other automated feedback for the commit message in the future.
It already catches the github noreply author.

It pulls the full repo to do this. Optimizations welcome. After messing
with that for a few hours, I decided to punt and commit the slow, working
version and let someone else optimize from here.

Sponsored by:		Netflix
2024-01-06 16:23:14 -07:00
Warner Losh be68c895c8 MAINTAINERS: Add myself to stand
People email me when the boot loader breaks anyway, so ask to be
included in reviews. And ask strongly since I've had to deal with too
many major breakages lately, distruting other things I need to do.

Sponsored by:		Netflix
2023-05-07 22:30:10 -06:00
Jessica Clarke f13b4e460c .github: Test DISK_IMAGE_TOOLS_BOOTSTRAP in CI
Building the tools is quick so we should provide coverage of this to
ensure it keeps working, especially on non-FreeBSD.

Reviewed by:	emaste, arichardson
Differential Revision:	https://reviews.freebsd.org/D39073
2023-03-15 00:06:53 +00:00
Warner Losh 005cca8361 Fix typo: messages missing an 'a'. 2023-03-01 16:34:43 -07:00
Cy Schubert 9f83fca886 MAINTAINERS+GitHub: Reflect ipfilter was moved from contrib to netpfil
Reflect the fact that ipfilter was moved from contrib to netpfil
on December 20, 2021 by 3b9b51fe46. And that ipfilter userland
was moved from contrib to sbin/ipf by 41edb306f0 that same day.
2023-02-28 10:33:03 -08:00
Warner Losh af23369a6d github: Create pull request template
Just to see how this looks. Will likely need to iterate.
2023-02-28 11:23:53 -07:00
Andrew Turner 8aad241ed0 Add myself to the github code owners file 2023-02-20 12:29:55 +00:00
Alex aca7ff471a .github: Restrict permissions on cross-build jobs. 2023-02-09 12:12:17 -08:00
John Baldwin 54f3a781a2 .github: Switch to v3 of actions/checkout.
GitHub is emitting a warning that v2 is deprecated due to using
Node.js 12.

Reported by:	GitHub
Reviewed by:	arichardson, emaste
Differential Revision:	https://reviews.freebsd.org/D37769
2022-12-20 16:27:17 -08:00
Jessica Clarke 22f731486e .github: Attempt to fix and increase robustness of macOS action
Homebrew has added LLVM 14 and made that the default version, but GitHub
continues to install LLVM 13 for now, so it ends up only accessible via
the versioned name and not the unversioned one. We also add an explicit
installation of llvm@13 so that, if GitHub updates the image to using
LLVM 14, the action continues to work, albeit slightly more slowly. This
also ensures the compiler label remains correct rather than outdated, as
has occurred in the past, and that we don't get new versions of LLVM
before we're ready for them, which is especially relevant for stable
branches. This all mirrors how the Ubuntu jobs are configured.
2022-06-30 21:03:26 +01:00
John Baldwin 74536fca79 .github: Add a build on Ubuntu 22.04 using llvm 14.
Reviewed by:	uqs
Pull Request:	https://github.com/freebsd/freebsd-src/pull/599
2022-06-09 10:20:03 -07:00
John Baldwin 3491ed652e .github: Cross-build aarch64 as well as amd64 kernels.
This required adding an explicit os list to the matrix.

Reviewed by:	uqs
Pull Request:	https://github.com/freebsd/freebsd-src/pull/599
2022-06-09 10:20:03 -07:00
John Baldwin 49335eda0f .github: Update compilers used for cross-build testing.
- Drop clang 9 build, and switch the remaining ubuntu build to
  the more modern clang 12.

- Update the label for the macos-latest builds which are now using
  clang 13 rather than clang 12.

Reviewed by:	uqs
Pull Request:	https://github.com/freebsd/freebsd-src/pull/599
2022-06-09 10:20:02 -07:00
Jose Luis Duran bff83dd395 GitHub: Add libefivar's path to CODEOWNERS
Code owners are automatically requested for review when someone opens a
pull request that modifies code that they own.

https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners

Pull Request: https://github.com/freebsd/freebsd-src/pull/581
2022-02-27 09:11:39 -07:00
Alan Somers 4f831830fa [skip ci] fix syntax in CODEOWNERS
* Fix invalid usernames
  - Fix spelling of ngie-eign
  - Delete users who aren't members of the FreeBSD org
* Fix spelling of usr.bin/fetch in CODEOWNERS
* rm "a directory anywhere in the repo" patterns from CODEOWNERS
  Even though they're documented as working, in practice they don't.
  https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-code-owners#codeowners-file-location

MFC after:	2 weeks
Sponsored by:	Axcient
Reviewed by:	imp
Differential Revision: https://reviews.freebsd.org/D30849
2021-07-22 10:58:54 -06:00