This repository has been archived by the owner on Dec 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
50 lines (41 loc) · 1.76 KB
/
accum-gh-clone-stats.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: GitHub clones counter for 14 days at every 8 hours and clones accumulator
on:
schedule:
- cron: "0 */8 * * *"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
accum-gh-clone-stats:
runs-on: ubuntu-latest
steps:
- uses: RedDeadDepresso/gh-action--accum-gh-stats@master
with:
deps_repo_owner: RedDeadDepresso
deps_repo_branch: master
deps_repo_read_token: ${{ github.token }}
stat_repo_owner: RedDeadDepresso
stat_repo: BAAuto
stat_entity: clones
stat_repo_read_token: ${{ secrets.READ_STATS_TOKEN }}
stats_list_key: clones
#commit_msg_entity: cl
curl_flags: >-
-H 'Cache-Control: no-cache'
output_repo_owner: RedDeadDepresso
output_repo: BAAuto--gh-stats
output_repo_branch: master
output_repo_dir: traffic/clones
output_repo_write_token: ${{ secrets.WRITE_STATS_TOKEN }}
flags: >-
ENABLE_PRINT_INITIAL_ENV_INTO_STDOUT=1
env: >-
ENABLE_GENERATE_CHANGELOG_FILE=1
ENABLE_COMMIT_MESSAGE_DATE_WITH_TIME=1
ENABLE_COMMIT_MESSAGE_DATE_TIME_WITH_LAST_CHANGED_DATE_OFFSET=1
ENABLE_COMMIT_MESSAGE_WITH_WORKFLOW_RUN_NUMBER=1
ENABLE_GITHUB_ACTIONS_RUN_URL_PRINT_TO_CHANGELOG=1
ENABLE_REPO_STATS_COMMITS_URL_PRINT_TO_CHANGELOG=1
# CONTINUE_ON_INVALID_INPUT=1
# CONTINUE_ON_EMPTY_CHANGES=1
# CONTINUE_ON_RESIDUAL_CHANGES=1
# CHANGELOG_FILE=changelog.txt