-
Notifications
You must be signed in to change notification settings - Fork 1
feat: distribute shared/ files across org repos #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
mogul
wants to merge
3
commits into
main
Choose a base branch
from
feat/distribute-shared
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| name: Distribute shared files | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| inputs: | ||
| repo_name: | ||
| description: "Single repo to target (empty = all)" | ||
| required: false | ||
|
|
||
| jobs: | ||
| distribute: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| steps: | ||
| - name: Checkout .github | ||
| uses: actions/checkout@v7 | ||
| with: | ||
| persist-credentials: false | ||
| - name: Propagate shared/ to all org repos | ||
| env: | ||
| GH_TOKEN: ${{ secrets.PROPAGATION_TOKEN }} | ||
| ORG: ${{ github.repository_owner }} | ||
| REPO_NAME: ${{ github.event.inputs.repo_name }} | ||
| run: | | ||
| if [ -n "$REPO_NAME" ]; then | ||
| bash scripts/propagate-files.sh \ | ||
| --source shared/ \ | ||
| --destination . \ | ||
| --repo "$REPO_NAME" \ | ||
| --message "Sync shared files from .github" | ||
| else | ||
| bash scripts/propagate-files.sh \ | ||
| --source shared/ \ | ||
| --destination . \ | ||
| --all \ | ||
| --message "Sync shared files from .github" | ||
| fi | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| blank_issues_enabled: false | ||
| contact_links: | ||
| - name: 📢 Report an Issue / Submit Feedback / Request a Feature | ||
| url: https://github.com/got-feedback/feedback/issues/new/choose | ||
| about: Please submit all issues, feature requests, and bug reports in our central repository. | ||
| - name: 💬 Come chat with our boisterous and helpful community and devs | ||
| url: https://discord.gg/TzPVK8fNBm | ||
| about: Over 2000 people are chatting in Discord and you could be next |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| # Contributor Covenant Code of Conduct | ||
|
|
||
| ## Our Pledge | ||
|
|
||
| We as members, contributors, and leaders pledge to make participation in our | ||
| community a harassment-free experience for everyone, regardless of age, body | ||
| size, visible or invisible disability, ethnicity, sex characteristics, gender | ||
| identity and expression, level of experience, education, socio-economic status, | ||
| nationality, personal appearance, race, religion, or sexual identity | ||
| and orientation. | ||
|
|
||
| We pledge to act and interact in ways that contribute to an open, welcoming, | ||
| diverse, inclusive, and healthy community. | ||
|
|
||
| ## Our Standards | ||
|
|
||
| Examples of behavior that contributes to a positive environment for our | ||
| community include: | ||
|
|
||
| * Demonstrating empathy and kindness toward other people | ||
| * Being respectful of differing opinions, viewpoints, and experiences | ||
| * Giving and gracefully accepting constructive feedback | ||
| * Accepting responsibility and apologizing to those affected by our mistakes, | ||
| and learning from the experience | ||
| * Focusing on what is best not just for us as individuals, but for the | ||
| overall community | ||
|
|
||
| Examples of unacceptable behavior include: | ||
|
|
||
| * The use of sexualized language or imagery, and sexual attention or | ||
| advances of any kind | ||
| * Trolling, insulting or derogatory comments, and personal or political attacks | ||
| * Public or private harassment | ||
| * Publishing others' private information, such as a physical or email | ||
| address, without their explicit permission | ||
| * Other conduct which could reasonably be considered inappropriate in a | ||
| professional setting | ||
|
|
||
| ## Enforcement Responsibilities | ||
|
|
||
| Community leaders are responsible for clarifying and enforcing our standards of | ||
| acceptable behavior and will take appropriate and fair corrective action in | ||
| response to any behavior that they deem inappropriate, threatening, offensive, | ||
| or harmful. | ||
|
|
||
| ## Scope | ||
|
|
||
| This Code of Conduct applies within all community spaces, and also applies when | ||
| an individual is officially representing the community in public spaces. | ||
|
|
||
| ## Enforcement | ||
|
|
||
| Instances of abusive, harassing, or otherwise unacceptable behavior may be | ||
| reported to the community leaders responsible for enforcement. All complaints | ||
| will be reviewed and investigated promptly and fairly. | ||
|
|
||
| ## Attribution | ||
|
|
||
| This Code of Conduct is adapted from the [Contributor Covenant][homepage], | ||
| version 2.1, available at | ||
| https://www.contributor-covenant.org/version/2/1/code_of_conduct.html. | ||
|
|
||
| [homepage]: https://www.contributor-covenant.org |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| # Contributing | ||
|
|
||
| Thanks for wanting to contribute! This org uses a release-centric workflow. | ||
| Start here for the basics; each repo may have additional project-specific | ||
| guides. | ||
|
|
||
| ## Getting started | ||
|
|
||
| 1. Find the right repo — most issues belong in `got-feedback/feedback`. | ||
| Plugin-specific issues go in the plugin's repo. | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should remove this; we want to direct all issues to |
||
| 2. Read the org's development docs at `got-feedback/.github`: | ||
| - [Branching model](https://github.com/got-feedback/.github/blob/main/docs/branching.md) | ||
| - [CI/CD pipeline](https://github.com/got-feedback/.github/blob/main/docs/pipeline.md) | ||
| - [Daily workflow and commit rules](https://github.com/got-feedback/.github/blob/main/docs/guidelines.md) | ||
| 3. Check the target repo's own `CONTRIBUTING.md` for license terms, DCO | ||
| requirements, and project-specific setup. | ||
|
|
||
| ## Developer Certificate of Origin | ||
|
|
||
| We use the [Developer Certificate of Origin](https://developercertificate.org/) | ||
| (DCO) to track contribution provenance. Every commit must be signed off: | ||
|
|
||
| ```bash | ||
| git commit -s -m "your commit message" | ||
| ``` | ||
|
|
||
| This appends a line like: | ||
|
|
||
| ```text | ||
| Signed-off-by: Jane Developer <jane@example.com> | ||
| ``` | ||
|
mogul marked this conversation as resolved.
|
||
|
|
||
| If you forget to sign off, amend the most recent commit with | ||
| `git commit --amend -s` and force-push to your PR branch. | ||
|
|
||
| ## PR workflow | ||
|
|
||
| - Never push directly to `main`. | ||
| - Create a feature branch on your fork. | ||
| - Open a PR against the target repo's `main` branch. | ||
| - Keep commits scoped and well-described; short imperative subject line, | ||
| blank line, then body explaining *why*. | ||
|
|
||
| ## Questions | ||
|
|
||
| Open an issue or start a Discussion in the relevant repo if you're unsure | ||
| whether a contribution fits. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| MIT License | ||
|
|
||
| Copyright (c) 2026 got-feedback | ||
|
|
||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of this software and associated documentation files (the "Software"), to deal | ||
| in the Software without restriction, including without limitation the rights | ||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| copies of the Software, and to permit persons to whom the Software is | ||
| furnished to do so, subject to the following conditions: | ||
|
|
||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
|
|
||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| SOFTWARE. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.