mirror of
https://github.com/Ryujinx/Ryujinx-Games-List.git
synced 2024-12-22 20:15:29 +00:00
Log issue stats for easier debugging
This commit is contained in:
parent
aceb2183ae
commit
0855ceb943
6
.github/workflows/label-stats.yml
vendored
6
.github/workflows/label-stats.yml
vendored
|
@ -23,7 +23,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
result-encoding: string
|
result-encoding: string
|
||||||
script: |
|
script: |
|
||||||
const query = `query($owner: String!, $name: String!) {
|
const query = `query($owner: String!, $name: String!) {
|
||||||
repository(owner: $owner, name: $name) {
|
repository(owner: $owner, name: $name) {
|
||||||
labels(first: 100, query: "status") {
|
labels(first: 100, query: "status") {
|
||||||
nodes {
|
nodes {
|
||||||
|
@ -48,6 +48,8 @@ jobs:
|
||||||
labelsWithIssueCount.forEach((label) => {
|
labelsWithIssueCount.forEach((label) => {
|
||||||
formattedData[label.name] = label.issues.totalCount;
|
formattedData[label.name] = label.issues.totalCount;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
console.log(formattedData);
|
||||||
|
|
||||||
return formattedData;
|
return formattedData;
|
||||||
|
|
||||||
|
@ -55,7 +57,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
|
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
|
||||||
cat << $EOF > compat-stats.json
|
cat << $EOF > compat-stats.json
|
||||||
${{steps.stats.outputs.result}}
|
${{ steps.stats.outputs.result }}
|
||||||
$EOF
|
$EOF
|
||||||
|
|
||||||
- name: Commit stats
|
- name: Commit stats
|
||||||
|
|
Loading…
Reference in a new issue