Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Use file name instead of name field #22

Closed
Tracked by #113
Bullrich opened this issue May 10, 2024 · 0 comments · Fixed by #24
Closed
Tracked by #113

Use file name instead of name field #22

Bullrich opened this issue May 10, 2024 · 0 comments · Fixed by #24
Assignees
Labels
action Related to the GitHub action
Milestone

Comments

@Bullrich
Copy link
Contributor

A command can be called:
example.yml and the name field can be This is an example.

We need to use the file name instead of the name value for creating commands.

Else a user will have to trigger it as /cmd This is an example

@Bullrich Bullrich added the action Related to the GitHub action label May 10, 2024
@Bullrich Bullrich added this to the GitHub Action milestone May 10, 2024
@Bullrich Bullrich self-assigned this May 10, 2024
@Bullrich Bullrich linked a pull request May 13, 2024 that will close this issue
Bullrich added a commit that referenced this issue May 14, 2024
Changed action to use the filename of the file instead the name
parameter.

Added a raw example on how to run each command in the documentation.

Added a step to lint the project.

Added a test to check if the `commander` is properly fetching the
scripts of a repository.

This resolves #22

---------

Co-authored-by: Bullrich <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action Related to the GitHub action
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant