Skip to content

Commit 792b4c6

Browse files
committed
better readme
1 parent b4c610e commit 792b4c6

File tree

3 files changed

+43
-7
lines changed

3 files changed

+43
-7
lines changed

LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
The MIT License (MIT)
3+
4+
Copyright (c) 2018 GitHub, Inc. and contributors
5+
6+
Permission is hereby granted, free of charge, to any person obtaining a copy
7+
of this software and associated documentation files (the "Software"), to deal
8+
in the Software without restriction, including without limitation the rights
9+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
copies of the Software, and to permit persons to whom the Software is
11+
furnished to do so, subject to the following conditions:
12+
13+
The above copyright notice and this permission notice shall be included in
14+
all copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22+
THE SOFTWARE.

README.md

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
1+
# Detect Laravel Ray
2+
This GitHub Action allows you to scan Laravel application codebase and detects remaining [Spatie's ray](https://myray.app/) calls. By default, it includes the following directories:
3+
- ./app
4+
- ./resources/views
5+
- ./database
6+
- ./routes
7+
- ./tests
18

2-
## Releasing
9+
## Usage
310

4-
To release new version of this package:
5-
```bash
6-
git tag -f v1
7-
git push -f origin v1
11+
```yaml
12+
- name: Detect remaining Spatie\ray calls
13+
uses: code16/x-ray-action@v1
814
```
15+
16+
## License
17+
18+
The scripts and documentation in this project are released under the [MIT License](LICENSE)
19+
20+
## Contributing
21+
22+
Please feel free to create an issue if you find a bug or send a pull request if you wish to improve the existing code/add a new feature.

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
name: 'Check ray cals'
2-
description: 'Fail the current workflow if there is a "ray()" in the code'
1+
name: 'Detect remaining Spatie\ray calls in a Laravel application'
2+
description: 'Fail the current workflow if there is a "ray()" or "@ray()" in the code'
33
#inputs:
44
# who-to-greet: # id of input
55
# description: 'Who to greet'

0 commit comments

Comments
 (0)