mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-20 02:15:12 +00:00
fix(contributors): address Copilot review comments and code quality issues
- Improve contributor-report.mjs based on Copilot comments and sonar - Use fileURLToPath for Windows-safe main checks in contributor scripts - Fix README badge URLs by removing duplicate style parameters - Update graceful-shutdown.mjs to throw on process.exit failure for better error visibility Generated-by: GitHub Copilot <copilot@github.com> Signed-off-by: Ashley Childress <6563688+anchildress1@users.noreply.github.com>
This commit is contained in:
6
.github/workflows/contributors.yml
vendored
6
.github/workflows/contributors.yml
vendored
@@ -8,7 +8,7 @@ on:
|
||||
jobs:
|
||||
contributors:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 12
|
||||
timeout-minutes: 5
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
@@ -36,12 +36,12 @@ jobs:
|
||||
run: |
|
||||
CHECK_OUTPUT=$(npm run contributors:check 2>&1)
|
||||
echo "$CHECK_OUTPUT"
|
||||
|
||||
|
||||
if echo "$CHECK_OUTPUT" | grep -q "Missing contributors"; then
|
||||
echo "Missing contributors detected, generating report..."
|
||||
mkdir -p reports
|
||||
npm run contributors:report
|
||||
|
||||
|
||||
if [ -f reports/contributor-report.md ]; then
|
||||
cat reports/contributor-report.md >> $GITHUB_STEP_SUMMARY
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user