Commit fa8b573 1 parent 2090d68 commit fa8b573 Copy full SHA for fa8b573
File tree 1 file changed +33
-0
lines changed
1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ schedule :
3
+ # runs once a week on sunday
4
+ - cron : " 55 23 * * 0"
5
+ workflow_dispatch :
6
+
7
+ jobs :
8
+ # This workflow contains a single job called "traffic"
9
+ 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
+ with :
18
+ ref : " traffic"
19
+
20
+ # Calculates traffic and clones and stores in CSV file
21
+ - name : GitHub traffic
22
+ uses : sangonzal/repository-traffic-action@v0.1.5
23
+ env :
24
+ TRAFFIC_ACTION_TOKEN : ${{ secrets.TRAFFIC_ACTION_TOKEN }}
25
+
26
+ # Commits files to repository
27
+ - name : Commit changes
28
+ uses : EndBug/add-and-commit@v4
29
+ with :
30
+ author_name : traffic bot
31
+ message : " GitHub traffic"
32
+ add : " ./traffic/*"
33
+ ref : " traffic" # commits to branch "traffic"
You can’t perform that action at this time.
0 commit comments