Skip to content

Commit

Permalink
Merge branch 'gh-pages' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Brianali-codes authored Jan 3, 2025
2 parents ded3fb6 + c8abcd4 commit 6629f39
Show file tree
Hide file tree
Showing 240 changed files with 858 additions and 643 deletions.
18 changes: 0 additions & 18 deletions .github/stale.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- gh-pages

jobs:

docker:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -51,3 +52,18 @@ jobs:
with:
skip: '**/*.ai,Gemfile*,package-lock.json,**/*.css'
ignore_words_list: gnerate,allready,hass,noice,dota,paket,testng,radis

upload:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- name: Save PR number
env:
PR_NUMBER: ${{ github.event.number }}
run: |
mkdir -p ./pr
echo $PR_NUMBER > ./pr/pr_number
- uses: actions/upload-artifact@v4
with:
name: pr_number
path: pr/
3 changes: 0 additions & 3 deletions .github/workflows/review-project-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@ jobs:

- name: Run script to review changed projects
id: run_script
continue-on-error: true
run: |
MESSAGE=$(bundle exec ruby scripts/review_changes.rb --skip-exit-code)
echo "exit code: '$?'"
echo "message: '$MESSAGE'"
echo 'message<<EOF' >> "$GITHUB_OUTPUT"
echo "$MESSAGE" >> "$GITHUB_OUTPUT"
Expand All @@ -35,7 +33,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.SHIFTBOT_TOKEN }}

- uses: marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31
continue-on-error: true
with:
message: ${{ steps.run_script.outputs.message }}
GITHUB_TOKEN: ${{ secrets.SHIFTBOT_TOKEN }}
94 changes: 94 additions & 0 deletions .github/workflows/review-pull-request-state.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
name: Review Pull Request

on:
workflow_run:
workflows: [Continuous Integration]
types:
- completed

permissions:
pull-requests: write

jobs:
review:
if: github.event.workflow_run.event == 'pull_request'
runs-on: ubuntu-latest
steps:
- name: "Emit workflow event"
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: |
echo "$GITHUB_CONTEXT"
- name: 'Download artifact'
uses: actions/github-script@v7
with:
script: |
let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: context.payload.workflow_run.id,
});
let matchArtifact = allArtifacts.data.artifacts.filter((artifact) => {
return artifact.name == "pr_number"
})[0];
let download = await github.rest.actions.downloadArtifact({
owner: context.repo.owner,
repo: context.repo.repo,
artifact_id: matchArtifact.id,
archive_format: 'zip',
});
const fs = require('fs');
const path = require('path');
const temp = '${{ runner.temp }}/artifacts';
if (!fs.existsSync(temp)){
fs.mkdirSync(temp);
}
fs.writeFileSync(path.join(temp, 'pr_number.zip'), Buffer.from(download.data));
- name: 'Unzip artifact'
run: |
cd "${{ runner.temp }}/artifacts"
unzip pr_number.zip -d "${{ runner.temp }}/artifacts"
- name: 'Get issue number from file'
uses: actions/github-script@v7
id: get-number
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const fs = require('fs');
const path = require('path');
const temp = '${{ runner.temp }}/artifacts';
const issue_number = Number(fs.readFileSync(path.join(temp, 'pr_number')));
return issue_number;
- name: 'Write issue number as output'
env:
ISSUE_NUMBER: ${{ steps.get-number.outputs.result }}
run: |
echo "got issue number $ISSUE_NUMBER"
- name: 'Mark PR as needing work'
if: github.event.workflow_run.conclusion == 'failure'
env:
GH_TOKEN: ${{ secrets.SHIFTBOT_TOKEN }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ steps.get-number.outputs.result }}
run: |
echo "TODO: remove label needs-review for PR $NUMBER (if set)"
gh pr edit "$NUMBER" --remove-label needs-review
echo "TODO: set label needs-work for PR $NUMBER"
gh pr edit "$NUMBER" --add-label needs-work
- name: 'Mark PR as ready for review'
if: github.event.workflow_run.conclusion != 'failure'
env:
GH_TOKEN: ${{ secrets.SHIFTBOT_TOKEN }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ steps.get-number.outputs.result }}
run: |
echo "TODO: remove label needs-work for PR $NUMBER (if set)"
gh pr edit "$NUMBER" --remove-label needs-work
echo "TODO: set label needs-review for PR $NUMBER"
gh pr edit "$NUMBER" --add-label needs-review
21 changes: 21 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: 'Close stale PR'
on:
schedule:
- cron: '30 1 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.SHIFTBOT_TOKEN }}
stale-pr-message: 'This pull request is stale because it has been open 30 days with no activity and requires further work. Remove the stale label or comment otherwise this will be closed in a week.'
any-of-pr-labels: 'needs-work,has-questions'
exempt-pr-labels: 'needs-review,needs-engineering-work'
stale-pr-label: stale
close-pr-message: 'This pull request was closed because it has been inactive for a week with no additional activity.'
days-before-stale: 30
days-before-issue-stale: -1 # do not mark inactive issues as stale
days-before-close: 7
days-before-issue-close: -1 # do not touch inactive issues
28 changes: 0 additions & 28 deletions .github/workflows/update-project-stats.yml

This file was deleted.

4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM ruby:3.3-slim-bullseye
FROM ruby:3.4-slim-bullseye

RUN apt update \
&& apt install -y build-essential patch ruby-dev zlib1g-dev liblzma-dev git \
&& gem install bundler:2.5.17 \
&& gem install bundler:2.6.2 \
&& mkdir -p /app

WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion _data/projects/99-ML-Learning-Projects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ upforgrabs:
stats:
issue-count: 14
last-updated: '2024-12-17T11:05:05Z'
fork-count: 194
fork-count: 193
2 changes: 1 addition & 1 deletion _data/projects/AMPProject.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ upforgrabs:
stats:
issue-count: 4
last-updated: '2024-10-27T14:20:32Z'
fork-count: 3892
fork-count: 3893
2 changes: 1 addition & 1 deletion _data/projects/Ancient-Beast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ upforgrabs:
stats:
issue-count: 18
last-updated: '2024-12-10T00:52:25Z'
fork-count: 595
fork-count: 596
4 changes: 2 additions & 2 deletions _data/projects/AnkiDroid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ upforgrabs:
link: >-
https://github.com/ankidroid/Anki-Android/issues?q=is%3Aopen+is%3Aissue+label%3A%22Good+First+Issue%21%22
stats:
issue-count: 26
last-updated: '2024-12-29T12:05:11Z'
issue-count: 25
last-updated: '2024-12-31T16:39:24Z'
fork-count: 2275
2 changes: 1 addition & 1 deletion _data/projects/Appsmith.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ upforgrabs:
stats:
issue-count: 6
last-updated: '2024-12-26T10:04:04Z'
fork-count: 3799
fork-count: 3798
2 changes: 1 addition & 1 deletion _data/projects/ArviZ.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ upforgrabs:
stats:
issue-count: 2
last-updated: '2024-08-10T21:32:48Z'
fork-count: 410
fork-count: 411
2 changes: 1 addition & 1 deletion _data/projects/Awesome-Dev-Portfolios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ upforgrabs:
stats:
issue-count: 2
last-updated: '2024-11-08T11:58:58Z'
fork-count: 75
fork-count: 76
2 changes: 1 addition & 1 deletion _data/projects/Babel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ upforgrabs:
stats:
issue-count: 11
last-updated: '2024-07-06T17:29:30Z'
fork-count: 5655
fork-count: 5653
2 changes: 1 addition & 1 deletion _data/projects/ChakraCore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ upforgrabs:
stats:
issue-count: 45
last-updated: '2024-10-26T08:23:16Z'
fork-count: 1197
fork-count: 1198
2 changes: 1 addition & 1 deletion _data/projects/ClickHouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ upforgrabs:
stats:
issue-count: 94
last-updated: '2024-12-29T17:21:35Z'
fork-count: 6991
fork-count: 6992
2 changes: 1 addition & 1 deletion _data/projects/CodenameOne.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ upforgrabs:
stats:
issue-count: 12
last-updated: '2024-10-03T09:29:45Z'
fork-count: 412
fork-count: 413
2 changes: 1 addition & 1 deletion _data/projects/CodiMD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ upforgrabs:
stats:
issue-count: 4
last-updated: '2024-08-01T11:09:47Z'
fork-count: 411
fork-count: 412
2 changes: 1 addition & 1 deletion _data/projects/CollaboraOnline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ upforgrabs:
stats:
issue-count: 18
last-updated: '2024-12-20T04:56:19Z'
fork-count: 726
fork-count: 729
2 changes: 1 addition & 1 deletion _data/projects/ColorLS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ upforgrabs:
stats:
issue-count: 19
last-updated: '2023-04-30T07:19:34Z'
fork-count: 390
fork-count: 391
4 changes: 2 additions & 2 deletions _data/projects/DotNet-AiCommitMessage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ upforgrabs:
link: https://github.com/guibranco/dotnet-aicommitmessage/labels/help%20wanted
stats:
issue-count: 2
last-updated: '2024-12-22T16:59:59Z'
fork-count: 4
last-updated: '2024-12-31T02:04:54Z'
fork-count: 5
2 changes: 1 addition & 1 deletion _data/projects/DotnetProjectSystem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ upforgrabs:
stats:
issue-count: 20
last-updated: '2024-10-25T07:17:55Z'
fork-count: 391
fork-count: 390
4 changes: 2 additions & 2 deletions _data/projects/Embedchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ upforgrabs:
link: https://github.com/mem0ai/mem0/labels/good%20first%20issue
stats:
issue-count: 19
last-updated: '2024-12-26T10:23:59Z'
fork-count: 2185
last-updated: '2025-01-01T10:30:45Z'
fork-count: 2189
2 changes: 1 addition & 1 deletion _data/projects/Ente-authenticator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ upforgrabs:
stats:
issue-count: 5
last-updated: '2024-12-27T08:04:45Z'
fork-count: 885
fork-count: 888
2 changes: 1 addition & 1 deletion _data/projects/EvalAI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ upforgrabs:
stats:
issue-count: 39
last-updated: '2024-12-21T13:37:57Z'
fork-count: 803
fork-count: 805
2 changes: 1 addition & 1 deletion _data/projects/FSharpLint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ upforgrabs:
stats:
issue-count: 3
last-updated: '2020-06-15T09:34:17Z'
fork-count: 73
fork-count: 74
10 changes: 5 additions & 5 deletions _data/projects/FreshRSS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ tags:
- feed
- rss-aggregator
upforgrabs:
name: good first issue
link: https://github.com/FreshRSS/FreshRSS/labels/good%20first%20issue
name: Good first issue 1️⃣
link: https://github.com/FreshRSS/FreshRSS/labels/Good%20first%20issue%201%EF%B8%8F%E2%83%A3
stats:
issue-count: 59
last-updated: '2024-10-30T15:56:09Z'
fork-count: 836
issue-count: 60
last-updated: '2024-12-25T23:58:33Z'
fork-count: 879
6 changes: 3 additions & 3 deletions _data/projects/GodotEngine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ upforgrabs:
name: good first issue
link: https://github.com/godotengine/godot/labels/good%20first%20issue
stats:
issue-count: 10
last-updated: '2024-12-18T11:30:55Z'
fork-count: 21392
issue-count: 12
last-updated: '2025-01-01T08:00:39Z'
fork-count: 21399
16 changes: 0 additions & 16 deletions _data/projects/GoldenATCTracking.yml

This file was deleted.

2 changes: 1 addition & 1 deletion _data/projects/HHVM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ upforgrabs:
stats:
issue-count: 55
last-updated: '2024-01-25T00:49:12Z'
fork-count: 3009
fork-count: 3022
Loading

0 comments on commit 6629f39

Please sign in to comment.