generated from JoshuaKGoldberg/create-typescript-app
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
status: accepting prsPlease, send a pull request to resolve this! 🙏Please, send a pull request to resolve this! 🙏type: featureNew enhancement or request 🚀New enhancement or request 🚀
Description
Feature Request Checklist
- I have pulled the latest
main
branch of the repository. - I have searched for related issues and found none that matched my issue.
Overview
Every rule should be able to be configured to be enabled/disabled.
For example excluding a rule that is enabled by from config preset:
jobs:
octoguide:
if: ${{ !endsWith(github.actor, '[bot]') }}
runs-on: ubuntu-latest
steps:
- uses: JoshuaKGoldberg/[email protected]
with:
config: strict
+ pr-linked-issue: false
github-token: ${{ secrets.GITHUB_TOKEN }}
Enabling an additional rule not included in a config preset:
jobs:
octoguide:
if: ${{ !endsWith(github.actor, '[bot]') }}
runs-on: ubuntu-latest
steps:
- uses: JoshuaKGoldberg/[email protected]
with:
config: recommended
+ pr-title-conventional: true
github-token: ${{ secrets.GITHUB_TOKEN }}
And allowing for a clear slate and choosing individual rules.
jobs:
octoguide:
if: ${{ !endsWith(github.actor, '[bot]') }}
runs-on: ubuntu-latest
steps:
- uses: JoshuaKGoldberg/[email protected]
with:
+ config: none
+ pr-title-conventional: true
+ comment-meaningless: true
+ pr-body-not-empty: true
github-token: ${{ secrets.GITHUB_TOKEN }}
Additional Info
Recommended should remain the default config preset. It should be explicitly set to none
to have no config set to start.
Related Issue: #20
Metadata
Metadata
Assignees
Labels
status: accepting prsPlease, send a pull request to resolve this! 🙏Please, send a pull request to resolve this! 🙏type: featureNew enhancement or request 🚀New enhancement or request 🚀