This GitHub Action is a fork of recent-activity by Readme-Workflows.
It is nearly identical, with the only difference being that the recent activity data is tabulated.
This GitHub Action can also be found on the marketplace.
- Create a
.github/workflows/update-readme.yml
file in your Username/Username repository - Paste the following into the newly created file:
name: Update README
on:
schedule:
- cron: '*/30 * * * *' # Update every 30 minutes
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
name: Update Profile README
steps:
- uses: actions/checkout@v3
#
# "{version}" is a placeholder and should be replaced with the latest release of recent-activity
- uses: Bonfire/recent-activity@{version}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- Replace the
{version}
above with the latest version of this workflow - In your README file, add the following code:
<table align="center">
<tbody>
<!--RECENT_ACTIVITY:start-->
<!--RECENT_ACTIVITY:end-->
</tbody>
</table>
All rights (except for the data tabulation) go to the original, forked repository.