fix: [DRO-64] Uninstall is not properly removing packages #20
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: Verify PR | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened, edited] | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| pr-title-check: | |
| name: PR Title Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check PR Title | |
| shell: bash | |
| env: | |
| PR_TITLE: ${{ github.event.pull_request.title }} | |
| run: | | |
| echo "Checking PR title: $PR_TITLE" | |
| # Define valid types (conventional commits) | |
| VALID_TYPES="feat|fix|docs|style|refactor|perf|test|build|ci|chore|revert" | |
| # Simple conventional commit format: type: description | |
| if ! [[ "$PR_TITLE" =~ ^($VALID_TYPES):[[:space:]].+ ]]; then | |
| echo "::error::PR title does not match conventional commit format!" | |
| echo "::error::" | |
| echo "::error::Required format: <type>: <description>" | |
| echo "::error::" | |
| echo "::error::Valid types: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert" | |
| echo "::error::" | |
| echo "::error::Examples:" | |
| echo "::error:: feat: add network speed display to polybar" | |
| echo "::error:: fix: correct battery detection on desktops" | |
| echo "::error:: docs: update installation instructions" | |
| echo "::error:: chore: update package list" | |
| echo "::error::" | |
| echo "::error::Your title: \"$PR_TITLE\"" | |
| exit 1 | |
| else | |
| echo "✅ PR title format is valid!" | |
| fi | |
| shellcheck: | |
| name: Shell Script Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Run ShellCheck | |
| uses: ludeeus/action-shellcheck@master | |
| with: | |
| scandir: '.' | |
| severity: warning | |
| env: | |
| SHELLCHECK_OPTS: -e SC1091 -e SC2034 | |
| label-merge-conflicts: | |
| name: Check Conflicts | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Label Merge Conflicts | |
| uses: prince-chrismc/label-merge-conflicts-action@v3 | |
| with: | |
| conflict_label_name: "conflicts" | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| conflict_comment: | | |
| Hi @${{ github.actor }}, | |
| This PR has merge conflicts with the base branch. | |
| Please rebase or merge the latest changes from `latest`. |