Skip to content

Commit a0902f8

Browse files
authored
Merge pull request #129 from MekDrop/fix-readme-links
Fixed README.md links + improved some text
2 parents beda6af + 4043b42 commit a0902f8

File tree

1 file changed

+28
-14
lines changed

1 file changed

+28
-14
lines changed

README.md

Lines changed: 28 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55

66
GitHub action to filter PHP class list with [Glob like syntax](https://en.wikipedia.org/wiki/Glob_(programming)).
77

8-
We recommend to use this GitHub action with [impresscms-dev/generate-php-project-classes-list-file-action](https://github.com/impresscms-dev/generate-php-project-classes-list-file-action).
8+
We recommend using this GitHub action with [impresscms-dev/generate-php-project-classes-list-file-action](https://github.com/impresscms-dev/generate-php-project-classes-list-file-action).
99

1010
## Usage
1111

12-
To use this action in your project, create workflow in your project similar to this code (Note: some parts and arguments needs to be altered):
12+
To use this action in your project, create a workflow file similar to the example below (Note: you may need to adjust some parts and arguments to fit your specific needs):
1313
```yaml
1414
name: Get filtered PHP classes list
1515

@@ -21,8 +21,8 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Checkouting project code...
24-
uses: actions/checkout@v2
25-
24+
uses: actions/checkout@v4
25+
2626
- name: Install PHP
2727
uses: shivammathur/setup-php@v2
2828
with:
@@ -31,46 +31,60 @@ jobs:
3131
ini-values: post_max_size=256M
3232
coverage: none
3333
tools: composer:v2
34-
34+
3535
- name: Install Composer dependencies (with dev)
3636
run: composer install --no-progress --prefer-dist --optimize-autoloader
37-
37+
3838
- name: Getting PHP classes list...
3939
uses: impresscms-dev/[email protected]
4040
with:
4141
output_file: ./php-classes.lst
42-
42+
4343
- uses: DamianReeves/[email protected]
4444
with:
4545
path: ./filtering-rules.lst
4646
contents: |
4747
ImpressCMS\**
4848
write-mode: overwrite
49-
49+
5050
- name: Filtering PHP classes list...
5151
uses: impresscms-dev/filter-php-class-list-with-glob-like-rules-action@v2
5252
with:
5353
rules_file: ./filtering-rules.lst
5454
input_file: ./php-classes.lst
5555
output_file: ./php-classes-filtered.lst
56-
56+
5757
- uses: actions/upload-artifact@v3
5858
with:
5959
name: my-artifact
6060
path: ./php-classes-filtered.lst
6161
```
6262
63-
## Arguments
63+
## Arguments
64+
65+
This action supports the following arguments (specified under the `with` keyword in your workflow file):
6466

65-
This action supports such arguments (used in `with` keyword):
6667
| Argument | Required | Default value | Description |
6768
|-------------|----------|----------------------|-----------------------------------|
6869
| rules_file | Yes | | File with rules list (each rule separate line - like [.gitignore](https://git-scm.com/docs/gitignore)) |
6970
| input_file | Yes | | File with PHP class names list |
7071
| output_file | Yes | | File where result will be written |
7172

72-
## How to contribute?
73+
## How to contribute
74+
75+
Contributions are welcome! If you'd like to add new features or fix bugs:
76+
77+
1. Fork the repository
78+
2. Create a new branch for your feature or bugfix
79+
3. Implement your changes
80+
4. Submit a pull request
81+
82+
If you're new to this process, check out GitHub's [Fork a repo](https://docs.github.com/en/get-started/quickstart/fork-a-repo) and [Creating a pull request](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request) guides.
83+
84+
## Reporting issues
7385

74-
If you want to add some functionality or fix bugs, you can fork, change and create pull request. If you not sure how this works, try [interactive GitHub tutorial](https://skills.github.com).
86+
Found a bug or have a suggestion? Please use the [GitHub Issues](https://github.com/impresscms-dev/filter-php-class-list-with-glob-like-rules-action/issues) page to:
7587

76-
If you found any bug or have some questions, use [issues tab](https://github.com/impresscms-dev/filter-php-class-list-with-glob-like-rules-action/issues) and write there your questions.
88+
- Report bugs
89+
- Request new features
90+
- Ask questions about the project

0 commit comments

Comments
 (0)