From ea3b3d96189392d746d2da4ba0383ef3f5e36386 Mon Sep 17 00:00:00 2001 From: Ahmed Halat Date: Wed, 11 Sep 2024 16:01:39 -0400 Subject: [PATCH] fix: run prettier --- .github/PULL_REQUEST_TEMPLATE.md | 2 ++ .github/release-drafter.yml | 46 +++++++++++++-------------- .github/workflows/npm-release.yml | 2 +- .github/workflows/pr-labels.yml | 8 ++--- .github/workflows/release-drafter.yml | 2 +- 5 files changed, 31 insertions(+), 29 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 3939eee..087d067 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -3,6 +3,7 @@ Include a summary of the changes and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. **Change**: + - [ ] Feature - [ ] Bug Fix - [ ] Refactor @@ -10,6 +11,7 @@ Include a summary of the changes and which issue is fixed. Please also include r - [ ] Other (provide details): **Version**: + - [ ] Major (breaking changes that require updates in multiple areas) - [ ] Minor (new features or enhancements that are backward-compatible) - [ ] Patch (bug fixes or small updates that do not alter any existing features) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 7e2bf87..a890ffd 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,55 +1,55 @@ autolabeler: - - label: 'patch' + - label: "patch" body: - '/\[x] Patch/gm' - - label: 'minor' + - label: "minor" body: - '/\[x] Minor/gm' - - label: 'major' + - label: "major" body: - '/\[x] Major/gm' - - label: 'bugfix' + - label: "bugfix" body: - '/\[x] Bug Fix/gm' - - label: 'documentation' + - label: "documentation" body: - '/\[x] Documentation/gm' - - label: 'feature' + - label: "feature" body: - '/\[x] Feature/gm' - - label: 'enhancement' + - label: "enhancement" body: - '/\[x] New Component/gm' version-resolver: major: labels: - - 'major' + - "major" minor: labels: - - 'minor' + - "minor" patch: labels: - - 'patch' + - "patch" default: patch -name-template: 'v$RESOLVED_VERSION' -tag-template: '$RESOLVED_VERSION' +name-template: "v$RESOLVED_VERSION" +tag-template: "$RESOLVED_VERSION" categories: - - title: 'Features' + - title: "Features" labels: - - 'feature' - - 'enhancement' - - title: 'Bug Fixes' + - "feature" + - "enhancement" + - title: "Bug Fixes" labels: - - 'fix' - - 'bugfix' - - 'bug' - - title: 'Maintenance' - label: 'chore' -change-template: '- $TITLE @$AUTHOR (#$NUMBER)' + - "fix" + - "bugfix" + - "bug" + - title: "Maintenance" + label: "chore" +change-template: "- $TITLE @$AUTHOR (#$NUMBER)" change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. template: | ## Changes - $CHANGES \ No newline at end of file + $CHANGES diff --git a/.github/workflows/npm-release.yml b/.github/workflows/npm-release.yml index 7a7f9fb..159a181 100644 --- a/.github/workflows/npm-release.yml +++ b/.github/workflows/npm-release.yml @@ -5,7 +5,7 @@ name: Create npm registry release on: push: tags: - - 'v*.*.*' + - "v*.*.*" jobs: bump-package-json-release: diff --git a/.github/workflows/pr-labels.yml b/.github/workflows/pr-labels.yml index 5fb74b4..878f7a1 100644 --- a/.github/workflows/pr-labels.yml +++ b/.github/workflows/pr-labels.yml @@ -4,7 +4,7 @@ name: Check PR labels on: pull_request: - types: [opened, labeled, unlabeled] + types: [opened, labeled, unlabeled] jobs: test: @@ -12,6 +12,6 @@ jobs: steps: - uses: jesusvasquez333/verify-pr-label-action@v1.4.0 with: - github-token: '${{ secrets.GITHUB_TOKEN }}' - valid-labels: 'major, minor, patch' - invalid-labels: 'hold' + github-token: "${{ secrets.GITHUB_TOKEN }}" + valid-labels: "major, minor, patch" + invalid-labels: "hold" diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 7e78700..4c9ad61 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -21,4 +21,4 @@ jobs: steps: - uses: release-drafter/release-drafter@v6 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}