Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Isaac Milarsky <[email protected]>
  • Loading branch information
IsaacMilarky committed May 6, 2024
1 parent a5492eb commit 727f18f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
git config user.email '[email protected]'
git add -A
timestamp=$(date -u)
git commit -m "update data: ${timestamp}" || exit 0
git commit -m "update reports and graphs: ${timestamp}" || exit 0
- name: Push to ${{ github.ref_name }}
uses: CasperWA/push-protected@v2
with:
Expand Down
6 changes: 3 additions & 3 deletions scripts/fetch_public_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ def read_current_metric_data(repos,orgs):
were saved in .old files.
Arguments:
orgs: orgs to write to file
repos: repos to write to file
orgs: orgs to read data for.
repos: repos to read data for.
"""

for org in orgs:
Expand Down Expand Up @@ -245,7 +245,7 @@ def write_metric_data_json_to_file(orgs, repos):
org_dict.update(org.metric_data)
org_metric_data = json.dumps(org_dict, indent=4)

print(org_metric_data)
#print(org_metric_data)

with open(path, "w+", encoding="utf-8") as file:
file.write(org_metric_data)
Expand Down

0 comments on commit 727f18f

Please sign in to comment.