Files
github-repository-stats-action/.github/workflows/stats.yml
julien Lengrand-Lambert 4edcfdabc7 Feat/grabbing repo stats (#1)
* First version of working action, sending data to server.
* Adds daily cron job
2023-06-29 13:27:09 +02:00

17 lines
504 B
YAML

on:
schedule:
- cron: '30 5 * * *' # Every day at 5:30 AM UTC
jobs:
stats_job:
runs-on: ubuntu-latest
name: Grabbing latest statistics from the repository, every day
steps:
- name: Grabbing repo stats
id: stats
uses: /jlengrand/github-repository-stats-action@feat/grabbing-repo-stats
with:
access-token: ${{ secrets.ACCESS_TOKEN }}
- name: Grabbing repo stats output
run: echo "The payload is ${{ steps.stats.outputs.payload }}"