Skip to content

Commit

Permalink
fix: Added alias for folder command to point to space. (#133)
Browse files Browse the repository at this point in the history
* Added alias for folder command to point to space.

* chore: change semantic pull request check

Co-authored-by: Daniel C. Daugherty <daniel@rabidferrets.com>
Co-authored-by: Mike DeAngelo <drstrangelove@google.com>
  • Loading branch information
3 people authored May 13, 2022
1 parent eaa9b70 commit e54ffe0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/semantic-pull-requests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# .github/workflows/semantic-pull-requests.yml
name: Semantic Pull Requests

on:
pull_request_target:
types:
- opened
- edited
- reopened
- synchronize

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- name: semantic-pull-request
uses: amannn/action-semantic-pull-request@v4.5.0
1 change: 1 addition & 0 deletions lib/gzr/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def version
puts "v#{Gzr::VERSION}"
end
map %w(--version -v) => :version
map folder: :space # Alias folder command to space

require_relative 'commands/attribute'
register Gzr::Commands::Attribute, 'attribute', 'attribute [SUBCOMMAND]', 'Command description...'
Expand Down

0 comments on commit e54ffe0

Please sign in to comment.