Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
bd59d56
Workflows changed, CI partitioned
DataBoySu Jan 13, 2026
171757c
Changing CI run manner; brnach protection rules are always fulfilled …
DataBoySu Jan 13, 2026
44ae3cb
Starting dual ci construction
DataBoySu Jan 13, 2026
86a1d74
breaking files down
DataBoySu Jan 13, 2026
6da363e
dirty feature added
DataBoySu Jan 13, 2026
7845aa4
fix pr exclusions
DataBoySu Jan 13, 2026
5d61e92
fix ci naming
DataBoySu Jan 13, 2026
7c4ed28
finalize dual ci
DataBoySu Jan 13, 2026
8f18456
finalize dual ci
DataBoySu Jan 13, 2026
9a9790f
Update Dockerfile
DataBoySu Jan 13, 2026
a30ce97
finalize dual ci
DataBoySu Jan 13, 2026
6cb4bde
Merge branch 'master' of https://github.com/DataBoySu/waka-readme-stats
DataBoySu Jan 13, 2026
272e59c
finalize dual ci
DataBoySu Jan 13, 2026
c26270e
finalizing workflows
DataBoySu Jan 13, 2026
04d6e45
finalizing scripts
DataBoySu Jan 13, 2026
71e7044
Dual CI finished
DataBoySu Jan 13, 2026
74dc0ae
Update Dockerfile (#6)
DataBoySu Jan 13, 2026
e1f1e7c
Experimenting with preview comment
DataBoySu Jan 13, 2026
4555ce0
Experimenting with preview comment
DataBoySu Jan 13, 2026
eaa996a
Rename ci.yml to ci_PR.yml
DataBoySu Jan 13, 2026
89f08f8
Rename ci_PR.yml to ci_MASTER.yml
DataBoySu Jan 13, 2026
f5601ee
Update ci_pr.yml
DataBoySu Jan 13, 2026
4fd61eb
Update CI_PR
DataBoySu Jan 13, 2026
6304e05
temp
DataBoySu Jan 13, 2026
36c6e69
fixing issue when multiple comments exist
DataBoySu Jan 13, 2026
9b0bb8d
fixing issue when multiple comments exist
DataBoySu Jan 13, 2026
1173ad3
Restore error message on github token absence
DataBoySu Jan 13, 2026
08bcf61
temp
DataBoySu Jan 13, 2026
82238c1
chore: upgrade PyGithub to 2.8.1
DataBoySu Jan 13, 2026
afe8813
artifact naming sanitization
DataBoySu Jan 13, 2026
2c508fc
max cap trial
DataBoySu Jan 13, 2026
cd2b556
max cap logs
DataBoySu Jan 13, 2026
5b9e70c
Apply suggestions from code review
DataBoySu Jan 13, 2026
6004a0e
added skip logic
DataBoySu Jan 13, 2026
820b264
Docker fix+alt max_cap
DataBoySu Jan 14, 2026
3d991b3
Docker file error invest
DataBoySu Jan 14, 2026
e2d75ed
Docker file error invest
DataBoySu Jan 14, 2026
893c07c
Docker file error invest
DataBoySu Jan 14, 2026
d044ba0
Docker fix
DataBoySu Jan 14, 2026
5432434
Syntax fix
DataBoySu Jan 14, 2026
10931ea
pygithub modifications
DataBoySu Jan 14, 2026
462ef8b
reformat main script
DataBoySu Jan 14, 2026
c6be4b6
main script reformatted
DataBoySu Jan 14, 2026
919a564
Merge branch 'master' into chore/pygithub-2.8.1
DataBoySu Jan 14, 2026
ff12ba6
import fixed
DataBoySu Jan 14, 2026
59ae1fe
Merge branch 'chore/pygithub-2.8.1' of https://github.com/DataBoySu/w…
DataBoySu Jan 14, 2026
b1ca742
import fixed
DataBoySu Jan 14, 2026
6dd815a
import fixed
DataBoySu Jan 14, 2026
0286a96
Merge pull request #7 from DataBoySu/chore/pygithub-2.8.1
DataBoySu Jan 14, 2026
c4fe578
remove unreachable code + restore safe docker config
DataBoySu Jan 14, 2026
32546f0
docker safe config
DataBoySu Jan 14, 2026
37b21be
Preview update
DataBoySu Jan 14, 2026
7b6f248
change comment process
DataBoySu Jan 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 26 additions & 3 deletions .github/workflows/ci_PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,33 @@ jobs:
INPUT_SHOW_LANGUAGE_PER_REPO: True
INPUT_SHOW_UPDATED_DATE: True

run: python3 sources/main.py
run: |
mkdir -p preview
python3 sources/main.py 2>&1 | tee preview/run.log

- name: Upsert preview comment 💬
- name: Write preview markdown
if: ${{ steps.changed.outputs.code == 'true' }}
env:
README_CONTENT: ${{ steps.make-stats.outputs.README_CONTENT }}
run: |
mkdir -p preview
printf '%s\n' "$README_CONTENT" > preview/preview.md
if [ ! -s preview/preview.md ]; then
echo "README_CONTENT was empty." > preview/preview.md
fi

- name: Upload preview artifact
if: ${{ always() && steps.changed.outputs.code == 'true' }}
uses: actions/upload-artifact@v4
with:
name: preview-stats
path: |
preview/preview.md
preview/run.log
if-no-files-found: ignore

- name: Upsert preview comment 💬
if: ${{ steps.changed.outputs.code == 'true' && github.event.pull_request.head.repo.full_name == github.repository }}
uses: actions/github-script@v7
env:
README_CONTENT: ${{ steps.make-stats.outputs.README_CONTENT }}
Expand Down Expand Up @@ -173,4 +196,4 @@ jobs:
}
} catch (e) {
core.warning(`Unable to create/update PR comment: ${e.message || e}`)
}
}
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ inputs:

runs:
using: 'docker'
image: 'Dockerfile'
image: 'docker://wakareadmestats/waka-readme-stats:master'

branding:
icon: 'activity'
Expand Down
Loading