Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/distribute-shared.yml
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
Comment thread
mogul marked this conversation as resolved.
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
8 changes: 7 additions & 1 deletion scripts/propagate-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,13 @@ for repo in "${REPOS[@]}"; do
mkdir -p "$(dirname "$TARGET/$DEST")"

# Copy — support both file and directory sources
if [ -d "$ROOT/$SOURCE" ]; then
if [ "$DEST" = "." ]; then
# Destination is the repo root — copy items individually to avoid rm -rf .
for item in "$ROOT/$SOURCE"/* "$ROOT/$SOURCE"/.[!.]*; do
[ -e "$item" ] || continue
cp -r "$item" "$TARGET/"
done
elif [ -d "$ROOT/$SOURCE" ]; then
rm -rf "${TARGET:?}/$DEST"
cp -r "$ROOT/$SOURCE" "$TARGET/$DEST"
else
Expand Down
8 changes: 8 additions & 0 deletions shared/.github/ISSUE_TEMPLATE/config.yml
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
63 changes: 63 additions & 0 deletions shared/CODE_OF_CONDUCT.md
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
47 changes: 47 additions & 0 deletions shared/CONTRIBUTING.md
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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should remove this; we want to direct all issues to got-feedback/feedback.

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>
```
Comment thread
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.
21 changes: 21 additions & 0 deletions shared/LICENSE.md
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.