-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 6a7ec04
Showing
8 changed files
with
629 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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,137 @@ | ||
name: Subscription to the careathon 2024 | ||
description: Please fill in this form to subscribe to the careathon 2024 | ||
title: "[auto] - Subscription to the careathon 2024" | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Fill in the formular bellow to subscribe to the Careathon 2024. | ||
Careathon 2024. | ||
- type: input | ||
id: github_handle | ||
attributes: | ||
label: What is your GitHub handle ? | ||
description: | | ||
Give us your GitHub handle, you can find it at the end of your https://github.com/<handle> | ||
validations: | ||
required: true | ||
- type: markdown | ||
attributes: | ||
value: | | ||
## If you compete as a team, provide the name of your team, and the GitHub handle of the other participants. | ||
- type: input | ||
id: team_name | ||
attributes: | ||
label: What is the name of your team | ||
description: | | ||
If you compete as a team, choose the name of your team. | ||
- type: input | ||
id: contestant_1_handle | ||
attributes: | ||
label: What is the GitHub handle of the second contestant ? | ||
description: | | ||
If you compete as a team, provide us the GitHub handle of the second contestant ? | ||
validations: | ||
required: true | ||
- type: input | ||
id: contestant_2_handle | ||
attributes: | ||
label: What is the GitHub handle of the third contestant ? | ||
description: | | ||
If you compete as a team, provide us the GitHub handle of the third contestant ? | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: city | ||
attributes: | ||
label: Which city do you live in ? (Dans quel ville vivez vous) | ||
options: | ||
- Other | ||
- Douala | ||
- Yaoundé | ||
- Garoua | ||
- Bamenda | ||
- Maroua | ||
- Nkongsamba | ||
- Bafoussam | ||
- Ngaoundéré | ||
- Bertoua | ||
- Loum | ||
- Kumba | ||
- Edéa | ||
- Kumbo | ||
- Foumban | ||
- Mbouda | ||
- Dschang | ||
- Limbé | ||
- Ebolowa | ||
- Kousséri | ||
- Guider | ||
- Meiganga | ||
- Yagoua | ||
- Mbalmayo | ||
- Bafang | ||
- Tiko | ||
- Bafia | ||
- Wum | ||
- Kribi | ||
- Buea | ||
- Sangmélima | ||
- Foumbot | ||
- Bangangté | ||
- Batouri | ||
- Banyo | ||
- Nkambé | ||
- Bali | ||
- Mbanga | ||
- Mokolo | ||
- Melong | ||
- Manjo | ||
- Garoua-Boulaï | ||
- Mora | ||
- Kaélé | ||
- Tibati | ||
- Ndop | ||
- Akonolinga | ||
- Eséka | ||
- Mamfé | ||
- Obala | ||
- Muyuka | ||
- Nanga-Eboko | ||
- Abong-Mbang | ||
- Fundong | ||
- Nkoteng | ||
- Fontem | ||
- Mbandjock | ||
- Touboro | ||
- Ngaoundal | ||
- Yokadouma | ||
- Pitoa | ||
- Tombel | ||
- Kékem | ||
- Magba | ||
- Bélabo | ||
- Tonga | ||
- Maga | ||
- Koutaba | ||
- Blangoua | ||
- Guidiguis | ||
- Bogo | ||
- Batibo | ||
- Yabassi | ||
- Figuil | ||
- Makénéné | ||
- Gazawa | ||
- Tcholliré | ||
- type: input | ||
id: other_city | ||
attributes: | ||
label: If you live in another city, please enter the city you currently live in | ||
- type: input | ||
id: other_country | ||
attributes: | ||
label: If you live outside of Cameroon, please enter the country you currently live in | ||
- type: input | ||
id: free_comment | ||
attributes: | ||
label: "Would you like to share something regarding your participation to the Careathon" |
This file contains 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,137 @@ | ||
name: Francais - Inscription au careathon 2024 | ||
description: Remplissez ce formulaire pour vous inscrire au careathon 2024 | ||
title: "[auto] - Inscription au careathon 2024" | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Remplissez le formulaire ci-dessous pour valider votre inscription au | ||
Careathon 2024. | ||
- type: input | ||
id: github_handle | ||
attributes: | ||
label: Quel est votre handle GitHub? | ||
description: | | ||
Entrez votre handle GitHub, vous le trouverez a la fin de l'url de votre profile https://github.com/<handle> | ||
validations: | ||
required: true | ||
- type: markdown | ||
attributes: | ||
value: | | ||
## Si vous participez en equipe, fournissez un nom d'equipe, et les handle GitHub des autres participants. | ||
- type: input | ||
id: team_name | ||
attributes: | ||
label: Saisissez le nom de votre equipe | ||
description: | | ||
Si vous participez en equipe, saisissez votre nom d'equipe. | ||
- type: input | ||
id: contestant_1_handle | ||
attributes: | ||
label: Saisissez le handle GitHub du second participant. | ||
description: | | ||
Si vous participez en equipe, saisissez le handle GitHub du deuxieme participant. | ||
validations: | ||
required: true | ||
- type: input | ||
id: contestant_2_handle | ||
attributes: | ||
label: Saisissez le handle GitHub du troisieme participant. | ||
description: | | ||
Si vous participez en equipe, saisissez le handle GitHub du troisieme participant. | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: city | ||
attributes: | ||
label: Dans quelle ville vivez vous? | ||
options: | ||
- Other | ||
- Douala | ||
- Yaoundé | ||
- Garoua | ||
- Bamenda | ||
- Maroua | ||
- Nkongsamba | ||
- Bafoussam | ||
- Ngaoundéré | ||
- Bertoua | ||
- Loum | ||
- Kumba | ||
- Edéa | ||
- Kumbo | ||
- Foumban | ||
- Mbouda | ||
- Dschang | ||
- Limbé | ||
- Ebolowa | ||
- Kousséri | ||
- Guider | ||
- Meiganga | ||
- Yagoua | ||
- Mbalmayo | ||
- Bafang | ||
- Tiko | ||
- Bafia | ||
- Wum | ||
- Kribi | ||
- Buea | ||
- Sangmélima | ||
- Foumbot | ||
- Bangangté | ||
- Batouri | ||
- Banyo | ||
- Nkambé | ||
- Bali | ||
- Mbanga | ||
- Mokolo | ||
- Melong | ||
- Manjo | ||
- Garoua-Boulaï | ||
- Mora | ||
- Kaélé | ||
- Tibati | ||
- Ndop | ||
- Akonolinga | ||
- Eséka | ||
- Mamfé | ||
- Obala | ||
- Muyuka | ||
- Nanga-Eboko | ||
- Abong-Mbang | ||
- Fundong | ||
- Nkoteng | ||
- Fontem | ||
- Mbandjock | ||
- Touboro | ||
- Ngaoundal | ||
- Yokadouma | ||
- Pitoa | ||
- Tombel | ||
- Kékem | ||
- Magba | ||
- Bélabo | ||
- Tonga | ||
- Maga | ||
- Koutaba | ||
- Blangoua | ||
- Guidiguis | ||
- Bogo | ||
- Batibo | ||
- Yabassi | ||
- Figuil | ||
- Makénéné | ||
- Gazawa | ||
- Tcholliré | ||
- type: input | ||
id: other_city | ||
attributes: | ||
label: Si vous vivez dans une autre ville, saisissez la ville dans laquelle vous vivez. | ||
- type: input | ||
id: other_country | ||
attributes: | ||
label: Si vouz vivez hors du Cameroun, saisissez le Pays dans lequel vous vivez. | ||
- type: input | ||
id: free_comment | ||
attributes: | ||
label: "Avez vous quelque chose à nous dire concernant les raisons de votre participation à ce Careathon ?" |
This file contains 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,46 @@ | ||
name: Process survey's entry | ||
on: | ||
issues: | ||
types: [ opened ] | ||
|
||
concurrency: 'main' | ||
jobs: | ||
take_survey: | ||
runs-on: ubuntu-latest | ||
if: contains(github.event.issue.title, '[auto] - Subscription to the careathon') | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16' | ||
|
||
- uses: stefanbuck/github-issue-parser@v3 | ||
id: issue-parser | ||
with: | ||
template-path: .github/ISSUE_TEMPLATE/subscription.yaml | ||
|
||
- run: echo '${{ steps.issue-parser.outputs.jsonString }}' > survey_submission.json | ||
|
||
- run: | | ||
cat survey_submission.json | jq | ||
- name: send custom message to the osscameroon group | ||
uses: appleboy/[email protected] | ||
with: | ||
to: ${{ secrets.TELEGRAM_CAREATHON_ADMIN_GROUP_ID }} | ||
token: ${{ secrets.TELEGRAM_BOT_TOKEN }} | ||
message: > | ||
A new subscription was submitted on the issue bellow, please review the subscription in 48 hours. | ||
${{ github.event.issue.html_url }} | ||
- name: Add comment | ||
run: gh issue comment "$NUMBER" --body "$BODY" | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GH_REPO: ${{ github.repository }} | ||
NUMBER: ${{ github.event.issue.number }} | ||
BODY: > | ||
:sparkles: Thanks for submitting your application. :sparkles: | ||
Your application will be reviewed in 48 hours. |
This file contains 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,46 @@ | ||
name: Process survey's entry | ||
on: | ||
issues: | ||
types: [ opened ] | ||
|
||
concurrency: 'main' | ||
jobs: | ||
take_survey: | ||
runs-on: ubuntu-latest | ||
if: contains(github.event.issue.title, '[auto] - Inscription au careathon') | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16' | ||
|
||
- uses: stefanbuck/github-issue-parser@v3 | ||
id: issue-parser | ||
with: | ||
template-path: .github/ISSUE_TEMPLATE/subscription_fr.yaml | ||
|
||
- run: echo '${{ steps.issue-parser.outputs.jsonString }}' > survey_submission.json | ||
|
||
- run: | | ||
cat survey_submission.json | jq | ||
- name: send custom message to the osscameroon group | ||
uses: appleboy/[email protected] | ||
with: | ||
to: ${{ secrets.TELEGRAM_CAREATHON_ADMIN_GROUP_ID }} | ||
token: ${{ secrets.TELEGRAM_BOT_TOKEN }} | ||
message: > | ||
A new subscription was submitted on the issue bellow, please review the subscription in 48 hours. | ||
${{ github.event.issue.html_url }} | ||
- name: Add comment | ||
run: gh issue comment "$NUMBER" --body "$BODY" | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GH_REPO: ${{ github.repository }} | ||
NUMBER: ${{ github.event.issue.number }} | ||
BODY: > | ||
:sparkles: Thanks for submitting your application. :sparkles: | ||
Your application will be reviewed in 48 hours. |
Oops, something went wrong.