-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #315 from sooluh/master
feat: make everything automatic
- Loading branch information
Showing
66 changed files
with
4,867 additions
and
1,197 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,15 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.json] | ||
insert_final_newline = ignore | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
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
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 |
---|---|---|
@@ -1,20 +1,24 @@ | ||
--- | ||
name: Tambah API | ||
about: Tambahkan API kedalam repositori | ||
about: Tambahkan API Ke Daftar | ||
title: '' | ||
labels: api-baru | ||
assignees: '' | ||
--- | ||
|
||
## Informasi API | ||
|
||
**Nama API**: | ||
**Developer**: | ||
**API Endpoint/Dokumentasi**: | ||
**Pengembang**: | ||
**Tautan Profil Pengembang**: | ||
**Tautan Dokumentasi**: | ||
**Status**: | ||
**Deskripsi**: | ||
**Auth**: | ||
**Autentikasi**: | ||
|
||
### Penjelasan API | ||
|
||
jelaskan secara singkat tentang bagaimana API anda bekerja dan apa saja yang harus dilakukan oleh peserta. | ||
Jelaskan secara singkat tentang bagaimana API anda bekerja dan apa saja yang harus dilakukan oleh peserta. | ||
|
||
--- | ||
|
||
Dengan mengajukan pull request atau issue pada repositori ini, saya menyatakan bahwa tautan RESTful API yang saya sertakan tidak akan mengandung konten NSFW (Not Safe for Work). |
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 |
---|---|---|
@@ -1,20 +1,24 @@ | ||
--- | ||
name: Tambah API | ||
about: Tambahkan API kedalam repositori | ||
about: Tambahkan API Ke Daftar | ||
title: '' | ||
labels: api-baru | ||
assignees: '' | ||
--- | ||
|
||
## Informasi API | ||
|
||
**Nama API**: | ||
**Developer**: | ||
**API Endpoint/Dokumentasi**: | ||
**Pengembang**: | ||
**Tautan Profil Pengembang**: | ||
**Tautan Dokumentasi**: | ||
**Status**: | ||
**Deskripsi**: | ||
**Auth**: | ||
**Autentikasi**: | ||
|
||
### Penjelasan API | ||
|
||
jelaskan secara singkat tentang bagaimana API anda bekerja dan apa saja yang harus dilakukan oleh peserta. | ||
Jelaskan secara singkat tentang bagaimana API anda bekerja dan apa saja yang harus dilakukan oleh peserta. | ||
|
||
--- | ||
|
||
Dengan mengajukan pull request atau issue pada repositori ini, saya menyatakan bahwa tautan RESTful API yang saya sertakan tidak akan mengandung konten NSFW (Not Safe for Work). |
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,36 @@ | ||
name: Build Merge | ||
|
||
on: | ||
pull_request_target: | ||
types: | ||
- closed | ||
|
||
jobs: | ||
build-merge: | ||
if: github.event.pull_request.merged == true | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Bun | ||
uses: oven-sh/setup-bun@v1 | ||
with: | ||
bun-version: '0.8.0' | ||
|
||
- name: Install dependencies | ||
run: bun install | ||
|
||
- name: Build Markdown (Merged Flag) | ||
run: bun start --merged | ||
|
||
- name: Commit & Push Changes | ||
run: | | ||
git config user.name "farizdotid" | ||
git config user.email "[email protected]" | ||
git add --all | ||
git commit -m "chore(readme): update" | ||
git push origin HEAD | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,27 @@ | ||
name: NSFW Check | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
|
||
jobs: | ||
nsfw-check: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Bun | ||
uses: oven-sh/setup-bun@v1 | ||
with: | ||
bun-version: '0.8.0' | ||
|
||
- name: Install dependencies | ||
run: bun install | ||
|
||
- name: Run NSFW Check | ||
id: run_nsfw_check | ||
run: bun check |
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,36 @@ | ||
name: Update Status | ||
|
||
on: | ||
schedule: | ||
# https://crontab.guru/every-month | ||
- cron: 0 0 1 * * | ||
workflow_dispatch: | ||
|
||
jobs: | ||
update-status: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Bun | ||
uses: oven-sh/setup-bun@v1 | ||
with: | ||
bun-version: '0.8.0' | ||
|
||
- name: Install dependencies | ||
run: bun install | ||
|
||
- name: Build Markdown | ||
run: bun start | ||
|
||
- name: Commit & Push Changes | ||
run: | | ||
git config user.name "farizdotid" | ||
git config user.email "[email protected]" | ||
git add --all | ||
git commit -m "chore(readme): update" | ||
git push origin HEAD | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Oops, something went wrong.