An open API service indexing awesome lists of open source software.

https://github.com/allan-nava/github-activity-file

Updates FILE with the recent GitHub activity of a user
https://github.com/allan-nava/github-activity-file

github-actions github-actions-ci github-actions-javascript readme

Last synced: 9 months ago
JSON representation

Updates FILE with the recent GitHub activity of a user

Awesome Lists containing this project

README

          

# github-activity-file

Updates FILE with the recent GitHub activity of a user.

## Instructions

- Add the comment `` (entry point) within ``. You can find an example

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

`.github/workflows/update-file.yml`

```yml
name: Update Activity FILE

on:
schedule:
- cron: "*/30 * * * *"
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
name: Update this repo's FILE with recent activity

steps:
- uses: actions/checkout@v2
- uses: Allan-Nava/github-activity-file@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
FILE: "PATH FILE"
```

The above job runs every half an hour, you can change it as you wish based on the [cron syntax](https://jasonet.co/posts/scheduled-actions/#the-cron-syntax).

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

Inspired by github-activity-readme