Skip to content

Commit

Permalink
refactor: refactor commands (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdihadeli authored Sep 16, 2024
1 parent 0c80560 commit af2280d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,16 @@ name: Release Drafter

on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- "main"
- main
# pull_request event is required only for autolabeler
pull_request:
# Only following types are handled by the action, but one can default to all as well
types: [opened, reopened, synchronize]
# pull_request_target event is required for autolabeler to support PRs from forks
pull_request_target:
types: [opened, reopened, synchronize]

jobs:
update_release_draft:
Expand All @@ -21,7 +29,7 @@ jobs:

steps:
- name: Update Release Draft
uses: release-drafter/release-drafter@v5
uses: release-drafter/release-drafter@v6
id: semantic
with:
config-name: release-drafter.yml
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
"analyzers": "dotnet format analyzers Vertical.Slice.Template.sln --verify-no-changes --severity error --verbosity diagnostic",
"fix-csharpier-format": "dotnet csharpier . && git add -A .",
"fix-style": "dotnet format style Vertical.Slice.Template.sln --severity error --verbosity diagnostic && git add -A .",
"fix-analyzers": "dotnet format analyzers Vertical.Slice.Template.sln --severity error --verbosity diagnostic && git add -A ."
"fix-warn-style": "dotnet format style Vertical.Slice.Template.sln --severity warn --verbosity diagnostic",
"fix-info-style": "dotnet format style Vertical.Slice.Template.sln --severity info --verbosity diagnostic",
"fix-analyzers": "dotnet format analyzers Vertical.Slice.Template.sln --severity error --verbosity diagnostic && git add -A .",
"fix-warn-analyzers": "dotnet format analyzers Vertical.Slice.Template.sln --severity warn --verbosity diagnostic",
"fix-info-analyzers": "dotnet format analyzers Vertical.Slice.Template.sln --severity info --verbosity diagnostic"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit af2280d

Please sign in to comment.