From 3955aa7f50d952f79fb26ceaed42a7fe6aef730a Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Mon, 1 May 2023 12:23:28 +0200 Subject: [PATCH 1/3] Add repo_dispatch and pulling of CoC --- .github/workflows/build.yml | 2 ++ docs/contributing/conduct.md | 51 ------------------------------------ 2 files changed, 2 insertions(+), 51 deletions(-) delete mode 100644 docs/contributing/conduct.md diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b57fdde..d04e827 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,5 +1,6 @@ name: Build to GitHub Pages on: + repo_dispatch push: branches: - master @@ -12,6 +13,7 @@ jobs: - uses: actions/setup-python@v2 with: python-version: 3.x + - run: curl https://raw.githubusercontent.com/spacebarchat/spacebarchat/master/CODE_OF_CONDUCT.md -o docs/contributing/conduct.md - run: python3 -m pip install mkdocs-material mkdocs-swagger-ui-tag mkdocs-section-index mkdocs-macros-plugin - run: mkdocs build - run: echo docs.spacebar.chat >> site/CNAME diff --git a/docs/contributing/conduct.md b/docs/contributing/conduct.md deleted file mode 100644 index 722359c..0000000 --- a/docs/contributing/conduct.md +++ /dev/null @@ -1,51 +0,0 @@ -# Code of Conduct - -By contributing to or interacting with {{ project.name }} or {{ project.name }} community spaces, you accept the code of conduct. - -This code of conduct is based on the Artemis Lena Code of Conduct by FantasyCookie17. As it is licensed under CC0, -it may be used by other communities in modified or unmodified form without permission from the author. -Its purpose is to ensure a civilised, tolerant, compassionate, helpful, pluralistic, and peaceful style of communication. - -{{ project.name }} community spaces includes {{ project.name }} github repositories and {{ project.name }} development guilds (be it on Discord.com or {{ project.name }} instances mananged by the {{ project.name }} maintainers group). - -By contributing to any {{ project.name }} projects (for example, through pull request) you guarantee that you have the rights to resign all rights to {{ project.name }} under the AGPLV3 license. - -### Desirable Behaviour - -- If possible, provide assistance with {{ project.name }} projects to other users. -- Be respectful toward other's opinions and viewpoints. -- Accepting responsibility and apologizing to those affected for our mistakes. - -### Prohibited Behaviour - -1. Sharing leaked, proprietary source code from Discord Inc -2. Homophobia, transphobia, etc, misgendering, deadnaming, assuming gender. You should use singular they/them when in doubt. -3. Threats of violence -4. Harassment -5. Spreading hateful, violent, or discriminatory ideologies or conspiracy theories, via media or text (including avatars and nicknames) -6. Trolling. Intentionally derailing conversations or producing discussions on non-issues. -7. Doxing. Disclosing other's private information without their consent. -8. Spamming. This includes sending advertisements, repeatedly sending meaningless content, sending server invites unrequested. -9. Sharing media that may cause harm or be triggering to others, such as flashing imagery or gore. -10. Undesired automation of services that may lead to a reduction in service quality. For example, API spam of a {{ project.name }} instance. -11. Ban evasion. Creation of additional accounts used to join a community after being banned from that community. -12. Posting content that is illegal to publish or distribute in Germany. -13. Abusing loopholes in this code of conduct, or being in conflict with the goals of this code of conduct. - -### Consequences of Violation - -- Written warnings, followed by kicks or bans if repeated. -- If a violation is particularly egregious, an immediate kick or ban may be issued. -- Offending content may be removed -- Kicks and bans apply to all communities administered by the {{ project.name }} maintainers group. - -### Reporting problems - -You may report any violation of this code of conduct to the {{ project.name }} community team directly through Discord, private message or otherwise. - -If you believe us to be in violation of this code of conduct, please report it to someone in a higher position, -or to many people on the team. Make sure to provide a direct quote from here to be as effective as possible. - -### Changes to this document - -This code of conduct may be changed in order to enhance clarity and precision at any time. **Notification should be provided** From 3bb67a39874e0e7286ab53802af0ecd652d0773d Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Mon, 1 May 2023 12:24:58 +0200 Subject: [PATCH 2/3] Fix workflow --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d04e827..d3124a6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,6 @@ name: Build to GitHub Pages on: - repo_dispatch + repository_dispatch: push: branches: - master From a23ec68c424c756d9fb9053687a4fc7cc49238a6 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Mon, 1 May 2023 12:43:35 +0200 Subject: [PATCH 3/3] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d3124a6..858b325 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,6 @@ name: Build to GitHub Pages on: - repository_dispatch: + workflow_dispatch: push: branches: - master