File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed
Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change 2626 org_name : ' hivemq'
2727 json_path : ' metrics.json'
2828
29+ - name : Copilot Metrics Retention
30+ uses : ambilykk/copilot-metrics-retention@5b9ef15ce66fc883afb3b6127f960e44d5233a50
31+ with :
32+ GITHUB_TOKEN : ${{ secrets.PAT_TOKEN }}
33+ org_name : ' hivemq-cloud'
34+ json_path : ' metrics_hivemq-cloud.json'
35+
2936 - uses : actions/upload-artifact@v4
3037 with :
3138 name : metrics.json
32- path : ' metrics.json'
39+ path : |
40+ metrics_hivemq.json
41+ metrics_hivemq-cloud.json
3342
3443 - name : Commit and push if it changed
3544 run : |
36- git config --global user.name 'Copilot Metrics Retention'
37- git config --global user.email '[email protected] ' 38- git add -A
39- git diff --quiet && git diff --staged --quiet || git commit -m "Copilot Metrics data update"
45+ git config user.name 'Copilot Metrics Retention'
46+ git config user.email '[email protected] ' 47+ git add metrics_hivemq.json metrics_hivemq-cloud.json
48+ git commit -m "Copilot Metrics data update" || exit 0
4049 git push
You can’t perform that action at this time.
0 commit comments