-
Notifications
You must be signed in to change notification settings - Fork 0
update readme #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
d9edc82
Update README.md
rouzwelt 08d0e92
Update chore.yml
rouzwelt 11be507
Update chore.yml
rouzwelt 423ed6b
Update chore.yml
rouzwelt 317bf64
Update chore.yml
rouzwelt 66bd702
Update chore.yml
rouzwelt f72d83c
Update chore.yml
rouzwelt 2b2c534
Update chore.yml
rouzwelt b32404d
Update chore.yml
rouzwelt 26eaed3
Update chore.yml
rouzwelt 5fad396
Update chore.yml
rouzwelt 4cfb8b0
Update chore.yml
rouzwelt 9f66f52
Update chore.yml
rouzwelt 4a971fc
Update chore.yml
rouzwelt 0cda043
Update chore.yml
rouzwelt 7540eac
Update chore.yml
rouzwelt 314a3a0
Update chore.yml
rouzwelt 59c0d88
Update chore.yml
rouzwelt c9633b1
Update chore.yml
rouzwelt 14eb2cd
Update chore.yml
rouzwelt 04beb59
Update chore.yml
rouzwelt 1200178
Update chore.yml
rouzwelt cdf1449
Update chore.yml
rouzwelt 68a84bb
Update chore.yml
rouzwelt efaf2ba
Update chore.yml
rouzwelt 08706de
Update chore.yml
rouzwelt 3181d10
Update chore.yml
rouzwelt 8bea8b0
Update chore.yml
rouzwelt 7aad67f
Update chore.yml
rouzwelt ee47f01
Update chore.yml
rouzwelt 36e42a7
Update chore.yml
rouzwelt 37f931b
Update chore.yml
rouzwelt 5513726
Update chore.yml
rouzwelt 4a6b4dc
Update chore.yml
rouzwelt 0a878f4
Update chore.yml
rouzwelt 373b728
update
rouzwelt 0c54236
Update chore.yml
rouzwelt d352e7c
Update chore.yml
rouzwelt b8039a3
Update chore.yml
rouzwelt dc0e24e
Update instructions.txt
rouzwelt ffbce95
Update instructions.txt
rouzwelt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,22 +1,25 @@ | ||
| name: GitHub PR Chore | ||
| name: GitHub PR Size Assessment Trigger | ||
| on: | ||
| pull_request: | ||
| types: | ||
| - closed | ||
|
|
||
| jobs: | ||
| comment-on-merge: | ||
| if: github.event.pull_request.merged == true | ||
| assess-pr-size-on-merge: | ||
| # if: github.event.pull_request.merged == true | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Comment on the PR | ||
| uses: actions/github-script@v7 | ||
| with: | ||
| script: | | ||
| const fs = require('fs'); | ||
| const body = fs.readFileSync('instructions.txt', 'utf8'); | ||
| github.rest.issues.createComment({ | ||
| issue_number: context.payload.pull_request.number, | ||
| issue_number: context.issue.number, | ||
| owner: context.repo.owner, | ||
| repo: context.repo.name, | ||
| body: "@coderabbitai assess this PR size with the following criteria and report it in your comment: \n- only include the relevant and main source files and changes in your assessment, for example changes in generated files like lock files should be excluded \n- the assessment should be in the format of: ADDITIONS=number DELETIONS=number \n- no other text and explanation should be in your comment, just the number of addition and deletions that you have assessed \n- you assessment comment should also not include any of your tips or other sections" | ||
| repo: context.repo.repo, | ||
| body | ||
| }) | ||
This file contains hidden or 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 +1,3 @@ | ||
| # github-chore | ||
| # github-chore | ||
|
|
||
| this repo contains chore github actions for rainlanguage org | ||
rouzwelt marked this conversation as resolved.
Show resolved
Hide resolved
|
||
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| @coderabbitai assess this PR size (PR diff) for the totality of the PR with the following criterias and report it in your comment: | ||
|
|
||
| - the assessment must be for the totality of the PR, that means comparing the base branch to the last commit of the PR | ||
| - only include the relevant and main source files and changes in your assessment, for example changes in generated files such as lock files should be excluded | ||
| - the assessment should be in the format of: ADDITIONS=number DELETIONS=number TOTAL=number , where TOTAL is sum of ADDITIONS and DELETIONS | ||
| - the PR size is for the most part the same as the PR diff, but excluding the diff of irrevelant files that were explained earlier | ||
| - no other text and explanation should be in your comment, just the number of additions, deletions and total that you have assessed | ||
| - you assessment comment should also not include any of your tips or other sections | ||
| - do NOT tag me or anyone else on your comment |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.