ci: add traffic wf

This commit is contained in:
Guido Grazioli 2024-06-27 11:00:29 +02:00
parent 5f059e8d63
commit c6fac7bb70

24
.github/workflows/traffic.yml vendored Normal file
View file

@ -0,0 +1,24 @@
on:
schedule:
- cron: "51 23 * * 0"
jobs:
traffic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: "traffic"
- name: GitHub traffic
uses: sangonzal/repository-traffic-action@v.0.1.6
env:
TRAFFIC_ACTION_TOKEN: ${{ secrets.TRIGGERING_PAT }}
- name: Commit changes
uses: EndBug/add-and-commit@v4
with:
author_name: Ansible Middleware
message: "GitHub traffic"
add: "./traffic/*"
ref: "traffic"