Skip to content

Commit

Permalink
Merge branch 'main' into github-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom authored Jun 30, 2021
2 parents 869f221 + d0e696d commit 1a0923c
Show file tree
Hide file tree
Showing 69 changed files with 673 additions and 510 deletions.
36 changes: 36 additions & 0 deletions .appends/.github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# ----------------------------------------------------------------------------------------- #
# These are the repository-specific labels that augment the Exercise-wide labels defined in #
# https://github.com/exercism/org-wide-files/blob/main/global-files/.github/labels.yml. #
# ----------------------------------------------------------------------------------------- #

- name: "bug"
description: "Something isn't working"
color: "d73a4a"

- name: "duplicate"
description: "This issue or pull request already exists"
color: "cfd3d7"

- name: "enhancement"
description: "New feature or request"
color: "a2eeef"

- name: "good first issue"
description: "Good for newcomers"
color: "7057ff"

- name: "help wanted"
description: "Extra attention is needed"
color: "008672"

- name: "invalid"
description: "This doesn't seem right"
color: "e4e669"

- name: "question"
description: "Further information is requested"
color: "d876e3"

- name: "wontfix"
description: "This will not be worked on"
color: "ffffff"
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ config/maintainers.json @exercism/maintainers-admin

# Code owners
.github/CODEOWNERS @exercism/maintainers-admin

# Changes to `fetch-configlet` should be made in the `exercism/configlet` repo
bin/fetch-configlet @exercism/maintainers-admin

9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2

updates:

# Keep dependencies for GitHub Actions up-to-date
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'daily'
200 changes: 200 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
# ------------------------------------------------------------- #
# This is an auto-generated file - Do not edit it file directly #
# ------------------------------------------------------------- #

# This file is automatically generated by merging two files:
# 1. The Exercism-wide labels
# 2. The repository-specific labels
#
# The Exercism-wide labels are defined in
# https://github.com/exercism/org-wide-files/blob/main/synced-files/.github/labels.yml
#
# The repository-specific labels are defined in `.appends/.github/labels.yml`.
# If you want to change the repository-specific labels, update the
# `.appends/.github/labels.yml` file and _not_ this file.
#
# Any changes to the repo's `.appends/.github/labels.yml` file or the
# Exercism-wide `labels.yml` file will automatically result in this file being
# regenerated and the labels being updated. 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 help contribute with.

# 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: "6f60d2"

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

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

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

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

# 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: "604fcd"

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

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

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

# 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: "5240c9"

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

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

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

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

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

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

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

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

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

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

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

# 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: "4231af"

# The `x:type/<value>` labels describe how much Exercism knowledge
# is required by the contributor
- name: "x:type/ci"
description: "Work on Continuous Integration (e.g. GitHub Actions workflows)"
color: "3c2d9f"

- name: "x:type/coding"
description: "Work on code that will run in production"
color: "3c2d9f"

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

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

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

# The following Exercism-wide labels are used to influence how much reputation
# a contributor gets for an authored/merged/reviewed PR.
# See https://github.com/exercism/docs/blob/main/product/reputation.md

- name: "reputation/contributed_code/major"
description: "Increases the number of reputation points awarded by this PR"
color: "fcfa9f"

- name: "reputation/contributed_code/minor"
description: "Decreases the number of reputation points awarded by this PR"
color: "fcfa9f"

# 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"

# ----------------------------------------------------------------------------------------- #
# These are the repository-specific labels that augment the Exercise-wide labels defined in #
# https://github.com/exercism/org-wide-files/blob/main/global-files/.github/labels.yml. #
# ----------------------------------------------------------------------------------------- #

- name: "bug"
description: "Something isn't working"
color: "d73a4a"

- name: "duplicate"
description: "This issue or pull request already exists"
color: "cfd3d7"

- name: "enhancement"
description: "New feature or request"
color: "a2eeef"

- name: "good first issue"
description: "Good for newcomers"
color: "7057ff"

- name: "help wanted"
description: "Extra attention is needed"
color: "008672"

- name: "invalid"
description: "This doesn't seem right"
color: "e4e669"

- name: "question"
description: "Further information is requested"
color: "d876e3"

- name: "wontfix"
description: "This will not be worked on"
color: "ffffff"
26 changes: 9 additions & 17 deletions .github/workflows/configlet.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,16 @@
# This workflow will do a fetch the latest configlet binary and lint this repository.
name: Configlet CI

name: configlet

on:
workflow_dispatch:
push:
branches:
- main
- master
pull_request:
on: [push, pull_request, workflow_dispatch]

jobs:
lint:
configlet:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Fetch configlet
uses: exercism/github-actions/configlet-ci@master
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f

- name: Configlet Linter
run: configlet lint .
- name: Fetch configlet
uses: exercism/github-actions/configlet-ci@main

- name: Configlet Linter
run: configlet lint
21 changes: 21 additions & 0 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Tools

on:
push:
branches: [main]
paths:
- .github/labels.yml
- .github/workflows/sync-labels.yml
schedule:
- cron: 0 0 1 * *
workflow_dispatch:

jobs:
sync-labels:
name: Sync labels
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- uses: micnncim/action-label-syncer@3abd5ab72fda571e69fffd97bd4e0033dd5f495c
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Quick Reference:
- Add the full reference implementation to ```<exercise-name>/.meta/reference ```.
- Add the exercise skeleton(incomplete solution) to `` <exercise-name>/``.
- Add all test cases under ```<exercise-name>test/ ```.
- Run all tests using : ``.../ballerina-exercism/exercises$ sh run_ballerina_tests.sh`` and make sure all tests are passed.
- Run all tests using : ``.https://github.com/exercism/v3/blob/main/ballerina-exercism/exercises$ sh run_ballerina_tests.sh`` and make sure all tests are passed.
- Add exercise to ``` ballerina-exercism/config.json ```.
- Generate an UUID using `configlet uuid` use that as the ID for the exercise.
- Update ``config.json`` with the metadata for the new exercise.
Expand Down
Loading

0 comments on commit 1a0923c

Please sign in to comment.