Skip to content

feat: make github-sponsors icon more materialized #308

feat: make github-sponsors icon more materialized

feat: make github-sponsors icon more materialized #308

Workflow file for this run

name: βœ… Check PR Title
on:
pull_request:
types: [opened, edited]
permissions:
pull-requests: write
issues: write # Update issue labels
jobs:
lint-pr-title:
name: Check PR Title
runs-on: ubuntu-latest
if: ${{ github.event.action == 'opened' || github.event.changes.title != null }}
steps:
- name: πŸ“₯ Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
# Only fetch the config file from the repository
sparse-checkout-cone-mode: false
sparse-checkout: |
.github/scripts/update-status-label.sh
commitlint.config.js
- name: πŸ“¦ Install dependencies
run: npm install --global @commitlint/config-conventional commitlint
- name: πŸ” Check PR title with commitlint
id: title-check
env:
PR_TITLE: ${{ github.event.pull_request.title }}
HELP_URL: https://github.com/material-extensions/vscode-material-icon-theme/blob/main/CONTRIBUTING.md#conventional-pull-request-titles
run: echo "$PR_TITLE" | npx commitlint --help-url $HELP_URL
- name: 🏷️ Manage label based on PR title check result
if: always()
run: .github/scripts/update-status-label.sh ${{ github.event.pull_request.number }} ${{ steps.title-check.outcome }} "πŸ”€ invalid title"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}