Skip to content

Commit e91c8ee

Browse files
committed
add aztec-starter traffic tracker
1 parent 8ad26d1 commit e91c8ee

File tree

2 files changed

+35
-2
lines changed

2 files changed

+35
-2
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
on:
2+
schedule:
3+
# runs once a week on sunday
4+
- cron: "55 23 * * 0"
5+
6+
7+
jobs:
8+
# This workflow contains a single job called "traffic"
9+
aztec-starter-traffic:
10+
# The type of runner that the job will run on
11+
runs-on: ubuntu-latest
12+
13+
# Steps represent a sequence of tasks that will be executed as part of the job
14+
steps:
15+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
16+
- uses: actions/checkout@v2
17+
18+
# Calculates traffic and clones and stores in CSV file
19+
- name: GitHub traffic
20+
uses: sangonzal/[email protected]
21+
env:
22+
TRAFFIC_ACTION_TOKEN: ${{ secrets.TRAFFIC_ACTION_TOKEN }}
23+
REPOSITORY_NAME: "AztecProtocol/aztec-starter"
24+
25+
# Commits files to repository
26+
- name: Commit changes
27+
uses: EndBug/add-and-commit@v4
28+
with:
29+
author_name: Josh Crites
30+
message: "aztec-starter GitHub traffic"
31+
add: "./traffic/*"
32+
ref: "aztec-starter-traffic"

.github/workflows/noir-starter-traffic.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
# This workflow contains a single job called "traffic"
9-
traffic:
9+
noir-starter-traffic:
1010
# The type of runner that the job will run on
1111
runs-on: ubuntu-latest
1212

@@ -27,5 +27,6 @@ jobs:
2727
uses: EndBug/add-and-commit@v4
2828
with:
2929
author_name: Josh Crites
30-
message: "GitHub traffic"
30+
message: "noir-starter GitHub traffic"
3131
add: "./traffic/*"
32+
ref: "noir-starter-traffic"

0 commit comments

Comments
 (0)