📃 Update Recent Activity #881
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 👩💻 Update Recent Activity | |
on: | |
schedule: | |
- cron: '0 */4 * * *' # Run every 4 hours | |
workflow_dispatch: | |
jobs: | |
update_activity: | |
runs-on: ubuntu-latest | |
name: Updated Recent Activities. | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Adds Activity to Readme.md | |
uses: lissy93/github-activity-readme@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.MY_GH_TOKEN }} | |
COMMIT_MSG: | | |
':zap: Updated Recent Activity in Readme | |
Signed-off-by: node_module [bot] <node_modules@hotmail.com> | |
Co-Authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>' | |
with: | |
MAX_LINES: 10 | |
- name: Adds Latest Activity to File | |
uses: lissy93/github-activity-readme@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.MY_GH_TOKEN }} | |
COMMIT_MSG: | | |
':zap: Updated Recent Activity | |
Signed-off-by: node_module [bot] <node_modules@hotmail.com> | |
Co-Authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>' | |
with: | |
MAX_LINES: 150 | |
TARGET_FILE: 'assets/RECENT.md' |