chore(deps): bump astro from 6.4.8 to 7.0.7 in /website #6336
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Labeling • Discussions, Issues & PRs (Unified) | |
| on: | |
| push: | |
| branches: [develop] | |
| pull_request: | |
| branches: [develop] | |
| types: | |
| [ | |
| opened, | |
| edited, | |
| synchronize, | |
| reopened, | |
| ready_for_review, | |
| labeled, | |
| unlabeled, | |
| transferred, | |
| ] | |
| issues: | |
| types: [opened, edited, reopened, labeled, unlabeled, transferred] | |
| discussion: | |
| types: [created, edited, answered, reopened] | |
| workflow_dispatch: | |
| inputs: | |
| dry_run: | |
| description: "Run without writing labels" | |
| required: false | |
| default: "true" | |
| report_commit: | |
| description: "Commit report to repo (requires contents: write)" | |
| required: false | |
| default: "false" | |
| permissions: | |
| contents: read | |
| issues: write | |
| pull-requests: write | |
| discussions: write | |
| concurrency: | |
| group: labeling-${{ github.event_name }}-${{ github.event.number || github.run_id }} | |
| cancel-in-progress: false | |
| env: | |
| LABELS_CONFIG: .github/labels.yml | |
| ISSUE_TYPES_CONFIG: .github/issue-types.yml | |
| LABELER_RULES: .github/labeler.yml | |
| jobs: | |
| labeling: | |
| name: Unified Labeling, Status, and Type Assignment | |
| runs-on: ubuntu-latest | |
| if: "(github.event.pull_request.draft == false || github.event_name != 'pull_request') && !contains(github.event.head_commit.message, '[skip labeling]')" | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22.22.1" | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Validate labeling config schema | |
| run: node scripts/validation/validate-labeling-configs.cjs | |
| - name: Validate canonical issue fields and docs | |
| run: node scripts/validation/validate-issue-fields.cjs | |
| - name: Sync labels with canonical set | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| DRY_RUN: ${{ github.event_name == 'pull_request' && 'true' || inputs.dry_run || 'false' }} | |
| LABEL_SYNC_REPORT_PATH: .github/reports/labeling/label-sync-${{ github.run_id }}.md | |
| run: node scripts/agents/includes/label-sync.js | |
| continue-on-error: false | |
| # Guardrail: Check for unknown labels in templates/types | |
| - name: Guardrail — Check for unknown labels in templates/types | |
| run: node scripts/agents/includes/check-template-labels.js | |
| continue-on-error: false | |
| # Run unified labeling agent for issues and PRs | |
| - name: Run labeling agent | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| DRY_RUN: ${{ inputs.dry_run || 'false' }} | |
| run: node scripts/agents/run-labeling-agent.cjs | |
| - name: Generate report | |
| id: report | |
| run: | | |
| mkdir -p .github/reports/labeling | |
| node scripts/agents/includes/report-writer.js > .github/reports/labeling/${{ github.run_id }}.md | |
| - name: Upload report artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: labeling-report-${{ github.run_id }} | |
| path: | | |
| .github/reports/labeling/${{ github.run_id }}.md | |
| .github/reports/labeling/label-sync-${{ github.run_id }}.md | |
| - name: Optionally commit report | |
| if: ${{ inputs.report_commit == 'true' }} | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
| git add .github/reports/labeling/${{ github.run_id }}.md | |
| git commit -m "chore(labeling): add report for run ${{ github.run_id }}" | |
| git push origin HEAD:develop |