Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Updates README with the recent GitHub activity of a user

License

NotificationsYou must be signed in to change notification settings

jamesgeorge007/github-activity-readme

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

UpdatesREADME.md with the recent GitHub activity of a user.

profile-repo


Instructions

  • Add the comment<!--START_SECTION:activity--> (entry point) withinREADME.md. You can find an examplehere.

  • It's the time to create a workflow file.

.github/workflows/update-readme.yml

name:Update READMEon:schedule:    -cron:"*/30 * * * *"workflow_dispatch:jobs:build:name:Update this repo's README with recent activityruns-on:ubuntu-latestpermissions:contents:writesteps:      -uses:actions/checkout@v4      -uses:jamesgeorge007/github-activity-readme@masterenv:GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}

The above job runs every half an hour, you can change it as you wish based on thecron syntax.

Please note that only those public events that belong to the following list show up:-

  • IssueEvent
  • ReleaseEvent
  • IssueCommentEvent
  • PullRequestEvent

You can find an examplehere.

Override defaults

Use the followinginput params to customize it for your use case:-

Input ParamDefault ValueDescription
GH_USERNAMEYour GitHub usernameUsername for which to generate the activity overview
COMMIT_NAMEgithub-actions[bot]Name of the committer
COMMIT_EMAIL41898282+github-actions[bot]@users.noreply.github.comEmail of the committer
COMMIT_MSG⚡ Update README with the recent activityCommit message used while committing to the repo
EMPTY_COMMIT_MSG📝 empty commit to keep workflow active after 60 days of no activityCommit message used when there are no updates
MAX_LINES5The maximum number of lines populated in your readme file
TARGET_FILEREADME.mdThe file to insert recent activity into
name:Update READMEon:schedule:    -cron:"*/30 * * * *"workflow_dispatch:jobs:build:name:Update this repo's README with recent activityruns-on:ubuntu-latestpermissions:contents:writesteps:      -uses:actions/checkout@v4      -uses:jamesgeorge007/github-activity-readme@masterenv:GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}with:COMMIT_MSG:"Specify a custom commit message"MAX_LINES:10COMMIT_NAME:GitHub Activity Readme

Inspired byJasonEtco/activity-box


[8]ページ先頭

©2009-2025 Movatter.jp