ci: update workflows

This commit is contained in:
2025-02-21 15:43:42 -07:00
parent a1a443fe1a
commit bb850a2eaa
6 changed files with 127 additions and 17 deletions

View File

@@ -167,7 +167,7 @@ jobs:
github-token: ${{ secrets.ADMINSERV_TOKEN_CL }}
script: |
const labels = JSON.parse( process.env.LABELS_JSON );
let count = Object.keys(labels).length;
let result = Object.keys(labels).length;
for ( const label of labels )
{
try
@@ -194,9 +194,9 @@ jobs:
}
}
console.log("[Success]: Added" + count + " labels to repo");
console.log("[Success]: Added " + result + " labels to repo");
return count
return result
# #
# Cleanup Get Weekly Commits
@@ -227,10 +227,11 @@ jobs:
embed-url: "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
embed-thumbnail-url: 'https://i.imgur.com/zDIzE8T.jpg'
embed-description: |
## 📦 Labels Create ${{ job.status == 'success' && '✅' || '❌' }}
## 🎫 Labels Create ${{ job.status == 'success' && '✅' || '❌' }}
A **successful** workflow has been ran to generate labels for your repository.
${{ steps.task_label_verify_existing.outputs.result }} labels have been added.
**${{ steps.task_label_verify_existing.outputs.result }}** labels have been added.
- Labels: `${{ steps.task_label_verify_existing.outputs.result }} created`
- Workflow: `${{ github.workflow }} (#${{github.run_number}})`
@@ -262,7 +263,7 @@ jobs:
embed-url: "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
embed-thumbnail-url: 'https://i.imgur.com/zDIzE8T.jpg'
embed-description: |
## 📦 Labels Create ${{ job.status == 'success' && '✅' || '❌' }}
## 🎫 Labels Create ${{ job.status == 'success' && '✅' || '❌' }}
A **failed** attempt was made to run this workflow. No new labels have been added to your repository.