Skip to content

Commit c34b2a3

Browse files
committed
Update reports.yml
1 parent c96c7cb commit c34b2a3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/reports.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
run: |
8282
set -x
8383
mkdir -p doc/data
84-
# We create new files once per month, mostly so that
84+
# We create new files once per month, mostly so that
8585
# we can keep the query results small. It does not
8686
# matter if we get results from different months,
8787
# as what matters is how we merge them.
@@ -96,7 +96,6 @@ jobs:
9696
# being published
9797
LAST_RELEASE="${{ github.event.inputs.LAST_RELEASE_DATE }}"
9898
MERGED_AFTER=${LAST_RELEASE:-$(date -v -14d +%Y-%m-%d)}
99-
10099
# Here we convert all the json files to per subsystem
101100
# logs, using the MERGED_AFTER date to further filter them.
102101
# Notice we can have duplicates in each file,
@@ -106,7 +105,7 @@ jobs:
106105
for f in doc/data/*_prs.json; do
107106
for x in Algorithm Analysis Common DataFormats Detectors EventVisualisation Examples Framework Generators Steer Testing Utilities; do
108107
cat $f | jq ".repository.pullRequests.edges[].node | select(.files.edges[].node.path | test(\"$x\")) | del(.files) | select(.state == \"MERGED\" and .mergedAt >= \"${MERGED_AFTER}\")" > /tmp/${x}_prs.json
109-
if [ ! X`jq -s length /tmp/${x}_prs.json` = X0 ]; then
108+
if [ ! X`jq -s length /tmp/${x}_prs.json` = X0 ]; then
110109
cat /tmp/${x}_prs.json | jq -r '"- [#\(.number)](https://github.com/AliceO2Group/AliceO2/pull/\(.number)) \(.mergedAt | split("T")[0]): \(.title) by [@\(.author.login)](https://github.com/\(.author.login))"' | sort -u >> /tmp/${x}_prs.md
111110
fi
112111
done

0 commit comments

Comments
 (0)