Then drag them into your Xcode project, adding them as a folder reference
As NicFontana mentions, this is not possible to do for Swift Packages. I have multiple Swift Packages I maintain, and they use Github Actions, which stores the configuration in a folder called ".github" (like NicFontana's project).
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: