jamesgeorge007 / github-activity-readme Goto Github PK
View Code? Open in Web Editor NEWUpdates README with the recent GitHub activity of a user
License: MIT License
Updates README with the recent GitHub activity of a user
License: MIT License
Do we need to comment or PR periodically to keep the workflow running?
"✖ fatal No PullRequest/Issue/IssueComment events found"
TIA
I've tried to put this on my github profile but for some reason this doesn't doesn't show up on the readme. I tried to go through settings to see if anything is amiss but nothing seems to be.
I tweaked it a couple of times by trying the custom commit message code snippet instead of a regular one but no use.
Am I missing something or what?
PS: This is the first time I'm opening an issue in this repo & I've read the COC. Excuse me if the issue is not professional / doesn't match any standards.
Why is this on a half hour cron, instead of a commit trigger?
Currently I have the action setup on my personal github profile and the activity updates appear a few days behind. I have manually re-run the pipeline and even tried deleting the section and hard resetting the content, but no luck.
In my case it seems to be 4 days behind current activity. I don't get an error message or any valuable logs from what I can tell, but here is a link to the most recent build.
I don't know if it's a bug, or what but every link generated on the markdown file has an extra slash after "github.com".
Getting
https://github.com//crazyuploader/bombsquad-docker
where as it should be
https://github.com/crazyuploader/bombsquad-docker
` Set up job
Run actions/checkout@v21s
Run jamesgeorge007/github-activity-readme@master0s
**> ✖ fatal No events found
Run jamesgeorge007/github-activity-readme@master
⬤ debug Getting activity for arshsahzad
⬤ debug Activity for arshsahzad, 100 events found.
✖ fatal No events found**
Post Run actions/checkout@v20s
Complete job`
Good morning @jamesgeorge007
Could you please say how to handle with .gitignore file while handling with Github tokens. Please don't consider this as an issue.
Feel free to help😊
Thank you!
Run jamesgeorge007/[email protected]
⬤ debug Getting activity for SatYu26
⬤ debug Activity for SatYu26, 100 events found.
✔ success Updated README with the recent activity
[master 4db681f] ⚡ update readme with the recent activity
1 file changed, 1 insertion(+), 1 deletion(-)
To https://github.com/SatYu26/SatYu26
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://github.com/SatYu26/SatYu26'
hint: Updates were rejected because the remote contains work that you do
⬤ debug Something went wrong
✖ fatal Error: Invalid status code: 1
at ChildProcess. (/home/runner/work/_actions/jamesgeorge007/github-activity-readme/v0.1.8/dist/index.js:1524:15)
at ChildProcess.emit (events.js:210:5)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
Hello,
Thanks for working on this! ❤️
However, like other actions out there, it'd be cool to let the users set their own custom committer's email address. What do you think about this?
When the displayed activity is about commenting on a issue/PR should it link to that specific comment.
It seems that if there is no activity present, the action fails with:
...
⬤ debug Activity for ..Username.., 62 events found.
✖ fatal No PullRequest/Issue/IssueComment events found
Expected:
Ideally it should interpret 0 as ok and maybe put a placeholder message like "Currently there is no activity logged," or something along those lines on the README page.
Actual:
No activity fails the action on each run until you do a pull request or something.
In my case when running the workflow please give an option to add a different path for readme file.
I need it because, I use teoxoy/profile-readme-stats in combination with your repo.
In that workflow action we need separate TEMPLATE.md file.
So I want to push recent activity to TEMPLATE.md file, and then push stats (using teoxoy/profile-readme-stats) from TEMPLATE.md to README.md
Did you get my point?
By default (as it should be) it uploads automatically the README.md
file. I imagine some other scenarios where someone may want to update another file (let's say README_it.md
beside the activity will be displayed in English).
Currently, this is not an option because there's no option to choose the target file. I'd like the option to use different markdown files to be uploaded using a key like: TARGET_FILE
.
I'll try to make a PR if my free time allows me.
Thanks for all the work!
Here's the log from running the action -
Run jamesgeorge007/github-activity-readme@master
with:
GH_USERNAME: avinashupadhya99
COMMIT_MSG: :zap: Update README with the recent activity
MAX_LINES: 5
env:
GITHUB_TOKEN: ***
✖ error Event `push` is not supported by this action.
https://github.com/avinashupadhya99/avinashupadhya99/runs/4898511787?check_suite_focus=true#step:4:8
I do not have anything in issues and issue comments, I get error fatal No PullRequest/Issue/IssueComment events found in the workflow. Seems like if you have not done pull requestsm issues, or issue comments, it crashes
Hi,
This is what is shown on my list of recent activities (as of 16/08/2020):
It seems like a partial list only since I did a few commits on the same date, see here: https://github.com/ikostan/Exercism_Python_Track/commits/master
It looks even more strange if you try to compare it to "Recent Activities" that are shown by GitHub itself, see attached screenshot:
My README repository is here: https://github.com/ikostan/ikostan
I tried to run it with 2 different configurations:
- uses: jamesgeorge007/[email protected]
- uses: jamesgeorge007/github-activity-readme@master
Hello,
I was looking through the code and it seems that you are using deprecated package:: @zeit/ncc.
It could be replaced with @vercel/ncc or even removed at all, because there is just one .js
file. Commiting dist
folder to the repository seems to be not the greatest idea anyway.
I can code the changes if you want to.
Have a nice day :)
@jamesgeorge007 I have followed the instruction provided in GitHub-activity-readme, however, when I run the workflow, I get the following error:
Error: Bad credentials
✖ fatal HttpError: Bad credentials
Which credentials do I have to setup?
Run jamesgeorge007/github-activity-readme@master
⬤ debug Getting activity for mirsazzathossain
⬤ debug Activity for mirsazzathossain, 40 events found.
✖ fatal No PullRequest/Issue/IssueComment events found
Firstly, I love this workflow. However, I have a suggestion to make:
My profile readme is derived from my TEMPLATE.md file in same repository.
So instead of updating README.md file, it'd be great if I'm able to update TEMPLATE.md file.
This will give flexibility to the the workflow.
Thank you.
It would be a great addition, if there was a way to customize the messages displayed and used within the readme file.
Imagine the following example settings:
name: Update README
on:
schedule:
- cron: '0 0 */1 * *' # Runs every day at 00:00
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
name: Update Profile README
steps:
- uses: actions/checkout@v2
- uses: jamesgeorge007/github-activity-readme@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMMIT_MSG: "Update latest activity in README"
COMMENT: "Commented on [{REPO}{ID}]({URL})"
# PR Actions
OPEN_PR: "Opened PR [{REPO}{ID}]({URL})"
MERGE: "Merged Pull request [{REPO}{ID}]({URL})"
CLOSE_PR: "Denied Pull request [{REPO}{ID}]({URL})"
# Issue Actions
OPEN_ISSUE: "Opened Issue [{REPO}{ID}]({URL})"
CLOSE_ISSUE: "Closed Issue [{REPO}{ID}]({URL})"
{REPO}
and {ID}
are example placeholders and other syntaxes for them could be used. They essentially are replaced with the :user/:repository
and issue/PR id (#:id
) respectively.
The above example setup could result in the following 5 entries being displayed:
The above examples are taken from Pull requests and issues in this repository to give a better example of my point.
I really hope this can be implemented as it would allow a lot more customization of the displayed info and could allow to blend it into the style of your Readme a bit more.
Your given workflow is failing for the os-version = ubuntu-latest
How to resolve this issue?
I noticed that contributions in Discussions are not listed in my recent activity list.
This would be a nice addition to this Action.
Thank you so much for your work! It is really great to have this in my README.
Kind regards
Julian
Getting this error while running
✖ fatal No PullRequest/Issue/IssueComment events found
When I initially ran the workflow, it successfully updated my README
; however, every subsequent workflow runs successfully but the file is no longer updated with my activity. Known of the changes are being found.
Run jamesgeorge007/github-activity-readme@master
⬤ debug Getting activity for grantwforsythe
⬤ debug Activity for grantwforsythe, 100 events found.
✔ success No changes detected
What could be causing this issue?
Edit: The changes were being done to a private repo, that is why results were not recognizing the changes.
Hey there, I recently received multiple motifications on my email of runs failed related to this action. The problem seems to be that the action takes over 6 hours to complete and it's getting cancelled because of the 360 minute max timeout.
I suppose this may be caused by some sort of caught exception that may not end the process gracefully so it remains idle indefinitely.
The logs aren't very useful, this is the only thing I have:
But once again, this just started happening today and I'm not sure if anybody else is having this same problem, if it may be related to a GitHub's API change or if it's just random, considering how this happens every other run.
Event issues.closed
is not supported by this action
is it supposed to track commits or not?
I feel it might be interested to have "🔥 Created x commits in y" or something along those lines.
If you add something for HTML support then it would be better
Add the ability to specify a custom commit message via an optional input parameter.
I'm receiving error Error: Invalid status code: 1
. Below error message. Any idea why?
Run jamesgeorge007/github-activity-readme@master
⬤ debug Getting activity for rafal-kos
⬤ debug Activity for rafal-kos, 17 events found.
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
⬤ debug Something went wrong
✖ fatal Error: Invalid status code: 1
at ChildProcess.<anonymous> (/home/runner/work/_actions/jamesgeorge007/github-activity-readme/master/dist/index.js:12526:15)
at ChildProcess.emit (events.js:210:5)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
I am trying to use the MAX_LINES within my action and it is stall outputting 5 instead of 10 that I have put within my code
steps:
- uses: actions/checkout@v2
- uses: jamesgeorge007/github-activity-readme@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
MAX_LINES: 10
I followed codeSTACKr's Tutorial on how to implement the Activity Readme Action. However, all the jobs so far have failed (see the attached image). I have never submitted a PullRequests before, and I also have never created an Issue or commented on one, and I assume that the error is related to that,
I'd be pleased if this can be fixed. If I can help with anything, just let me know, I'd love to help!
Hi,
I have a weird problem in my github readme. The action keep replacing the stuff rather than adding more. As you can see here: https://github.com/SetiZ/SetiZ/commits/master
I don't know if I missed something in here. Let me know
1s
Run jamesgeorge007/github-activity-readme@master
⬤ debug Getting activity for cxvh
⬤ debug Activity for cxvh, 100 events found.
✖ fatal No PullRequest/Issue/IssueComment events found
⬤ debug Getting activity for SatYu26
⬤ debug Activity for SatYu26, 100 events found.
✖ fatal No PullRequest/Issue/IssueComment events found
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.