-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4bae3d3
commit 43b54cc
Showing
12 changed files
with
7,243 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,15 +13,25 @@ jobs: | |
- uses: ./ | ||
with: | ||
max_contributors: 10 | ||
min_words_contributed: 0 | ||
min_words_contributed: 1 | ||
placeholder_start: '<!-- TEST-CONTRIBUTORS-START -->' | ||
placeholder_end: '<!-- TEST-CONTRIBUTORS-END -->' | ||
files: ./__tests__/files/contributors.md | ||
env: | ||
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} | ||
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} | ||
CROWDIN_ORGANIZATION: ${{ secrets.CROWDIN_ORGANIZATION }} | ||
|
||
- name: Test the Readme | ||
run: | | ||
cat ./__tests__/files/contributors.md | ||
git diff | ||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v4 | ||
with: | ||
title: Update Crowdin Contributors table | ||
body: By [action-crowdin-contributors](https://github.com/andrii-bodnar/action-crowdin-contributors) GitHub action | ||
commit-message: Update Crowdin Contributors table | ||
committer: Crowdin Bot <[email protected]> | ||
branch: crowdin-contributors/patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,9 +79,9 @@ jobs: | |
uses: peter-evans/create-pull-request@v4 | ||
with: | ||
title: Update Crowdin Contributors table | ||
body: By [action-crowdin-contributors](andrii-bodnar/action-crowdin-contributors) GitHub action | ||
body: By [action-crowdin-contributors](https://github.com/andrii-bodnar/action-crowdin-contributors) GitHub action | ||
commit-message: Update Crowdin Contributors table | ||
committer: Crowdin Bot <[email protected]> | ||
committer: Crowdin Bot <support+bot@crowdin.com> | ||
branch: crowdin-contributors/patch | ||
``` | ||
|
@@ -97,6 +97,16 @@ jobs: | |
| `placeholder_start` | `<!-- CROWDIN-CONTRIBUTORS-START -->` | Placeholder that marks the start of the contributors table | | ||
| `placeholder_end` | `<!-- CROWDIN-CONTRIBUTORS-END -->` | Placeholder that marks the end of the contributors table | | ||
|
||
## Demo | ||
|
||
The resulting table will look like this: | ||
|
||
[![Check dist](./demo.png)](https://github.com/andrii-bodnar/action-crowdin-contributors/pull/6) | ||
|
||
**Note:** it's just a test, in real use, it will display actual user's avatars. | ||
|
||
Example PR - [#6](https://github.com/andrii-bodnar/action-crowdin-contributors/pull/6) | ||
|
||
## Contributing | ||
|
||
If you want to contribute please read the [Contributing](/CONTRIBUTING.md) guidelines. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
### Contributors file for tests | ||
|
||
Thanks to these people this project exists: | ||
Thanks to these translators and proofreaders this project exists: | ||
|
||
<!-- TEST-CONTRIBUTORS-START --> | ||
<!-- TEST-CONTRIBUTORS-END --> |
Oops, something went wrong.