Skip to content

Commit

Permalink
Merge pull request #1 from exercism-bot/org-wide-files/11919142147
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom authored Nov 19, 2024
2 parents 8915f8b + 3d41b3c commit 48b61ff
Show file tree
Hide file tree
Showing 3 changed files with 280 additions and 0 deletions.
168 changes: 168 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
# --------------------------------------------------------------- #
# This is an auto-generated file - Do not manually edit this file #
# --------------------------------------------------------------- #

# This file is automatically generated by concatenating two files:
#
# 1. The Exercism-wide labels: defined in https://github.com/exercism/org-wide-files/blob/main/global-files/.github/labels.yml
# 2. The repository-specific labels: defined in the `.appends/.github/labels.yml` file within this repository.
#
# If any of these two files change, a pull request is automatically created containing a re-generated version of this file.
# Consequently, to change repository-specific labels you should update the `.appends/.github/labels.yml` file and _not_ this file.
#
# When the pull request has been merged, the GitHub labels will be automatically updated by the "Sync labels" workflow.
# This typically takes 5-10 minutes.

# --------------------------------------------------------------------- #
# These are the Exercism-wide labels which are shared across all repos. #
# --------------------------------------------------------------------- #

# The following Exercism-wide labels are used to show "tasks" on the website, which will point users to things they can contribute to.

# The `x:action/<value>` labels describe what sort of work the contributor will be engaged in when working on the issue
- name: "x:action/create"
description: "Work on something from scratch"
color: "ffffff"

- name: "x:action/fix"
description: "Fix an issue"
color: "ffffff"

- name: "x:action/improve"
description: "Improve existing functionality/content"
color: "ffffff"

- name: "x:action/proofread"
description: "Proofread text"
color: "ffffff"

- name: "x:action/sync"
description: "Sync content with its latest version"
color: "ffffff"

# The `x:knowledge/<value>` labels describe how much Exercism knowledge is required by the contributor
- name: "x:knowledge/none"
description: "No existing Exercism knowledge required"
color: "ffffff"

- name: "x:knowledge/elementary"
description: "Little Exercism knowledge required"
color: "ffffff"

- name: "x:knowledge/intermediate"
description: "Quite a bit of Exercism knowledge required"
color: "ffffff"

- name: "x:knowledge/advanced"
description: "Comprehensive Exercism knowledge required"
color: "ffffff"

# The `x:module/<value>` labels indicate what part of Exercism the contributor will be working on
- name: "x:module/analyzer"
description: "Work on Analyzers"
color: "ffffff"

- name: "x:module/concept"
description: "Work on Concepts"
color: "ffffff"

- name: "x:module/concept-exercise"
description: "Work on Concept Exercises"
color: "ffffff"

- name: "x:module/generator"
description: "Work on Exercise generators"
color: "ffffff"

- name: "x:module/practice-exercise"
description: "Work on Practice Exercises"
color: "ffffff"

- name: "x:module/representer"
description: "Work on Representers"
color: "ffffff"

- name: "x:module/test-runner"
description: "Work on Test Runners"
color: "ffffff"

# The `x:rep/<value>` labels describe the amount of reputation to award
#
# For more information on reputation and how these labels should be used,
# check out https://exercism.org/docs/using/product/reputation
- name: "x:rep/tiny"
description: "Tiny amount of reputation"
color: "ffffff"

- name: "x:rep/small"
description: "Small amount of reputation"
color: "ffffff"

- name: "x:rep/medium"
description: "Medium amount of reputation"
color: "ffffff"

- name: "x:rep/large"
description: "Large amount of reputation"
color: "ffffff"

- name: "x:rep/massive"
description: "Massive amount of reputation"
color: "ffffff"

# The `x:size/<value>` labels describe the expected amount of work for a contributor
- name: "x:size/tiny"
description: "Tiny amount of work"
color: "ffffff"

- name: "x:size/small"
description: "Small amount of work"
color: "ffffff"

- name: "x:size/medium"
description: "Medium amount of work"
color: "ffffff"

- name: "x:size/large"
description: "Large amount of work"
color: "ffffff"

- name: "x:size/massive"
description: "Massive amount of work"
color: "ffffff"

# The `x:status/<value>` label indicates if there is already someone working on the issue
- name: "x:status/claimed"
description: "Someone is working on this issue"
color: "ffffff"

# The `x:type/<value>` labels describe what type of work the contributor will be engaged in
- name: "x:type/ci"
description: "Work on Continuous Integration (e.g. GitHub Actions workflows)"
color: "ffffff"

- name: "x:type/coding"
description: "Write code that is not student-facing content (e.g. test-runners, generators, but not exercises)"
color: "ffffff"

- name: "x:type/content"
description: "Work on content (e.g. exercises, concepts)"
color: "ffffff"

- name: "x:type/docker"
description: "Work on Dockerfiles"
color: "ffffff"

- name: "x:type/docs"
description: "Work on Documentation"
color: "ffffff"

# This Exercism-wide label is added to all automatically created pull requests that help migrate/prepare a track for Exercism v3
- name: "v3-migration 🤖"
description: "Preparing for Exercism v3"
color: "e99695"

# This Exercism-wide label can be used to bulk-close issues in preparation for pausing community contributions
- name: "paused"
description: "Work paused until further notice"
color: "e4e669"
19 changes: 19 additions & 0 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Tools

on:
push:
branches:
- main
paths:
- .github/labels.yml
- .github/workflows/sync-labels.yml
workflow_dispatch:
schedule:
- cron: 0 0 1 * * # First day of each month

permissions:
issues: write

jobs:
sync-labels:
uses: exercism/github-actions/.github/workflows/labels.yml@main
93 changes: 93 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# Code of Conduct

## Introduction

Exercism is a platform centered around empathetic conversation.
We have a low tolerance for communication that makes anyone feel unwelcome, unsupported, insulted or discriminated against.

## Seen or experienced something uncomfortable?

If you see or experience abuse, harassment, discrimination, or feel unsafe or upset, please email [[email protected]](mailto:[email protected]?subject=%5BCoC%5D) and include \[CoC\] in the subject line.
We will follow up with you as a priority.

## Enforcement

We actively monitor for Code of Conduct (CoC) violations and take any reports of violations extremely seriously.
We have banned contributors, mentors and users due to violations.

After we receive a report of a CoC violation, we view that person's conversation history on Exercism and related communication channels and attempt to understand whether someone has deliberately broken the CoC, or accidentally crossed a line.
We generally reach out to the person who has been reported to discuss any concerns we have and warn them that repeated violations will result in a ban.
Sometimes we decide that no violation has occurred and that no action is required and sometimes we will also ban people on a first offense.
We strive to be fair, but will err on the side of protecting the culture of our community.

Exercism's leadership reserve the right to take whatever action they feel appropriate with regards to CoC violations.

## The simple version

- Be empathetic
- Be welcoming
- Be kind
- Be honest
- Be supportive
- Be polite

## The details

Exercism should be a safe place for everybody regardless of

- Gender, gender identity or gender expression
- Sexual orientation
- Disability
- Physical appearance (including but not limited to body size)
- Race
- Age
- Religion
- Anything else you can think of

As someone who is part of this community, you agree that:

- We are collectively and individually committed to safety and inclusivity
- We have zero tolerance for abuse, harassment, or discrimination
- We respect people’s boundaries and identities
- We refrain from using language that can be considered offensive or oppressive (systemically or otherwise), eg. sexist, racist, homophobic, transphobic, ableist, classist, etc.
- this includes (but is not limited to) various slurs.
- We avoid using offensive topics as a form of humor

We actively work towards:

- Being a safe community
- Cultivating a network of support & encouragement for each other
- Encouraging responsible and varied forms of expression

We condemn:

- Stalking, doxxing, or publishing private information
- Violence, threats of violence or violent language
- Anything that compromises people’s safety
- Conduct or speech which might be considered sexist, racist, homophobic, transphobic, ableist or otherwise discriminatory or offensive in nature
- The use of unwelcome, suggestive, derogatory or inappropriate nicknames or terms
- Disrespect towards others (jokes, innuendo, dismissive attitudes) and towards differences of opinion
- Intimidation or harassment (online or in-person).
Please read the [Citizen Code of Conduct](https://github.com/stumpsyn/policies/blob/master/citizen_code_of_conduct.md) for how we interpret harassment
- Inappropriate attention or contact
- Not understanding the differences between constructive criticism and disparagement

These things are NOT OK.

Be aware of how your actions affect others.
If it makes someone uncomfortable, stop.

If you say something that is found offensive, and you are called out on it, try to:

- Listen without interruption
- Believe what the person is saying & do not attempt to disqualify what they have to say
- Ask for tips / help with avoiding making the offense in the future
- Apologize and ask forgiveness

## History

This policy was initially adopted from the Front-end London Slack community and has been modified since.
A version history can be seen on [GitHub](https://github.com/exercism/website-copy/edit/main/pages/code_of_conduct.md).

_This policy is a "living" document, and subject to refinement and expansion in the future.
This policy applies to the Exercism website, the Exercism GitHub organization, any other Exercism-related communication channels (e.g. Discord, Forum, Twitter, email) and any other Exercism entity or event._

0 comments on commit 48b61ff

Please sign in to comment.