This repository has been archived by the owner on Jul 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 170
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
1 parent
30248bd
commit f5dbe3b
Showing
316 changed files
with
27,348 additions
and
15,619 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 +1,3 @@ | ||
* text=auto eol=lf | ||
|
||
action/dist/** -diff linguist-generated=true |
Validating CODEOWNERS rules …
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 |
---|---|---|
@@ -0,0 +1,65 @@ | ||
name: Collect Blog Data | ||
|
||
on: | ||
schedule: | ||
- cron: "17 0 * * *" | ||
workflow_dispatch: | ||
inputs: | ||
TEST: | ||
description: "This is a test ?" | ||
required: true | ||
type: boolean | ||
default: false | ||
RUNNER: | ||
type: choice | ||
description: "Action Runner" | ||
default: "self-hosted" | ||
required: true | ||
options: | ||
- "ubuntu-latest" | ||
- "self-hosted" | ||
|
||
jobs: | ||
collect-blog-data: | ||
name: Collect Blog Data | ||
|
||
runs-on: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.RUNNER == 'ubuntu-latest' && 'ubuntu-latest' || 'self-hosted' }} | ||
|
||
steps: | ||
- name: Checkout | ||
id: checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Collect Blog Data | ||
id: collect-blog-data | ||
uses: ./action/ | ||
with: | ||
TEST: ${{ inputs.TEST || 'false' }} | ||
|
||
# Trigger | ||
TRIGGER_COLLECT_BLOG_DATA: true | ||
|
||
# Secrets | ||
GITHUB_TOKEN: ${{ secrets.CODINASION_GITHUB_TOKEN }} | ||
|
||
- name: Get Time | ||
if: github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && github.event.inputs.TEST == 'false') | ||
id: time | ||
uses: nanzm/get-time-action@master | ||
with: | ||
timeZone: UTC+5.5 | ||
format: "YYYY-MM-DD-HH-mm-ss" | ||
|
||
- name: Commit Blog Data | ||
if: github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && github.event.inputs.TEST == 'false') | ||
uses: crazy-max/ghaction-github-pages@v3.0.0 | ||
with: | ||
target_branch: "blog-data" | ||
build_dir: blog-data | ||
keep_history: false | ||
committer: Harsh Raj <harshraj8843@users.noreply.github.com> | ||
author: Harsh Raj <harshraj8843@users.noreply.github.com> | ||
commit_message: | | ||
Collect Blog Data - ${{ steps.time.outputs.time }} | ||
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,65 @@ | ||
name: Collect Tools Data | ||
|
||
on: | ||
schedule: | ||
- cron: "17 0 * * *" | ||
workflow_dispatch: | ||
inputs: | ||
TEST: | ||
description: "This is a test ?" | ||
required: true | ||
type: boolean | ||
default: false | ||
RUNNER: | ||
type: choice | ||
description: "Action Runner" | ||
default: "self-hosted" | ||
required: true | ||
options: | ||
- "ubuntu-latest" | ||
- "self-hosted" | ||
|
||
jobs: | ||
collect-tools-data: | ||
name: Collect Tools Data | ||
|
||
runs-on: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.RUNNER == 'ubuntu-latest' && 'ubuntu-latest' || 'self-hosted' }} | ||
|
||
steps: | ||
- name: Checkout | ||
id: checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Collect Tools Data | ||
id: collect-tools-data | ||
uses: ./action/ | ||
with: | ||
TEST: ${{ inputs.TEST || 'false' }} | ||
|
||
# Trigger | ||
TRIGGER_COLLECT_TOOLS_DATA: true | ||
|
||
# Secrets | ||
GITHUB_TOKEN: ${{ secrets.CODINASION_GITHUB_TOKEN }} | ||
|
||
- name: Get Time | ||
if: github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && github.event.inputs.TEST == 'false') | ||
id: time | ||
uses: nanzm/get-time-action@master | ||
with: | ||
timeZone: UTC+5.5 | ||
format: "YYYY-MM-DD-HH-mm-ss" | ||
|
||
- name: Commit Tools Data | ||
if: github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && github.event.inputs.TEST == 'false') | ||
uses: crazy-max/ghaction-github-pages@v3.0.0 | ||
with: | ||
target_branch: "tools-data" | ||
build_dir: tools-data | ||
keep_history: false | ||
committer: Harsh Raj <harshraj8843@users.noreply.github.com> | ||
author: Harsh Raj <harshraj8843@users.noreply.github.com> | ||
commit_message: | | ||
Collect Tools Data - ${{ steps.time.outputs.time }} | ||
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 |
---|---|---|
|
@@ -45,3 +45,4 @@ program-data/ | |
contributors-data/ | ||
trending-repos.png | ||
meme.png | ||
.venv |
Empty file.
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,3 @@ | ||
dist/ | ||
node_modules/ | ||
coverage/ |
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,16 @@ | ||
{ | ||
"printWidth": 80, | ||
"tabWidth": 2, | ||
"useTabs": false, | ||
"semi": false, | ||
"singleQuote": true, | ||
"quoteProps": "as-needed", | ||
"jsxSingleQuote": false, | ||
"trailingComma": "none", | ||
"bracketSpacing": true, | ||
"bracketSameLine": true, | ||
"arrowParens": "avoid", | ||
"proseWrap": "always", | ||
"htmlWhitespaceSensitivity": "css", | ||
"endOfLine": "lf" | ||
} |
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,7 +1,11 @@ | ||
# Codinasion GitHub Actions | ||
|
||
[![Collect Program Data](https://github.com/codinasion/codinasion/actions/workflows/collect-program-data.yml/badge.svg)](https://github.com/codinasion/codinasion/actions/workflows/collect-program-data.yml) [![Collect Contributors Data](https://github.com/codinasion/codinasion/actions/workflows/collect-contributors-data.yml/badge.svg)](https://github.com/codinasion/codinasion/actions/workflows/collect-contributors-data.yml) | ||
[![Collect Program Data](https://github.com/codinasion/codinasion/actions/workflows/collect-program-data.yml/badge.svg)](https://github.com/codinasion/codinasion/actions/workflows/collect-program-data.yml) | ||
[![Collect Contributors Data](https://github.com/codinasion/codinasion/actions/workflows/collect-contributors-data.yml/badge.svg)](https://github.com/codinasion/codinasion/actions/workflows/collect-contributors-data.yml) | ||
|
||
[![Tweet GFI Data](https://github.com/codinasion/codinasion/actions/workflows/tweet-gfi-data.yml/badge.svg)](https://github.com/codinasion/codinasion/actions/workflows/tweet-gfi-data.yml) [![Tweet Trending Repos Data](https://github.com/codinasion/codinasion/actions/workflows/tweet-trending-repos-data.yml/badge.svg)](https://github.com/codinasion/codinasion/actions/workflows/tweet-trending-repos-data.yml) [![Tweet Quote Data](https://github.com/codinasion/codinasion/actions/workflows/tweet-quote-data.yml/badge.svg)](https://github.com/codinasion/codinasion/actions/workflows/tweet-quote-data.yml) [![Tweet Meme](https://github.com/codinasion/codinasion/actions/workflows/tweet-meme.yml/badge.svg)](https://github.com/codinasion/codinasion/actions/workflows/tweet-meme.yml) | ||
[![Tweet GFI Data](https://github.com/codinasion/codinasion/actions/workflows/tweet-gfi-data.yml/badge.svg)](https://github.com/codinasion/codinasion/actions/workflows/tweet-gfi-data.yml) | ||
[![Tweet Trending Repos Data](https://github.com/codinasion/codinasion/actions/workflows/tweet-trending-repos-data.yml/badge.svg)](https://github.com/codinasion/codinasion/actions/workflows/tweet-trending-repos-data.yml) | ||
[![Tweet Quote Data](https://github.com/codinasion/codinasion/actions/workflows/tweet-quote-data.yml/badge.svg)](https://github.com/codinasion/codinasion/actions/workflows/tweet-quote-data.yml) | ||
[![Tweet Meme](https://github.com/codinasion/codinasion/actions/workflows/tweet-meme.yml/badge.svg)](https://github.com/codinasion/codinasion/actions/workflows/tweet-meme.yml) | ||
|
||
[![Submit Program](https://github.com/codinasion/codinasion/actions/workflows/submit-program.yml/badge.svg)](https://github.com/codinasion/codinasion/actions/workflows/submit-program.yml) |
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
Oops, something went wrong.