| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| labeling: | ||
| applyCategoryLabels: true | ||
| categoryLabelPrefix: "size/" | ||
|
|
||
| commenting: | ||
| addCommentWhenScoreThresholdHasBeenExceeded: false | ||
|
|
||
| sizeup: | ||
| categories: | ||
| - name: extra small | ||
| lte: 25 | ||
| label: | ||
| name: XS | ||
| description: Should be very easy to review | ||
| color: 3cbf00 | ||
| - name: small | ||
| lte: 100 | ||
| label: | ||
| name: S | ||
| description: Should be easy to review | ||
| color: 5d9801 | ||
| - name: medium | ||
| lte: 250 | ||
| label: | ||
| name: M | ||
| description: Should be of average difficulty to review | ||
| color: 7f7203 | ||
| - name: large | ||
| lte: 500 | ||
| label: | ||
| name: L | ||
| description: May be hard to review | ||
| color: a14c05 | ||
| - name: extra large | ||
| lte: 1000 | ||
| label: | ||
| name: XL | ||
| description: May be very hard to review | ||
| color: c32607 | ||
| - name: extra extra large | ||
| label: | ||
| name: XXL | ||
| description: May be extremely hard to review | ||
| color: e50009 | ||
| ignoredFilePatterns: | ||
| - ".github/workflows/__*" | ||
| - "lib/**/*" | ||
| - "package-lock.json" | ||
| testFilePatterns: | ||
| - "**/*.test.ts" | ||
| scoring: | ||
| # This formula and the aliases below it are written in prefix notation. | ||
| # For an explanation of how this works, please see: | ||
| # https://github.com/lerebear/sizeup-core/blob/main/README.md#prefix-notation | ||
| formula: "- - + additions deletions comments whitespace" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| name: Label PR with size | ||
|
|
||
| on: | ||
| pull_request: | ||
| types: | ||
| - opened | ||
| - synchronize | ||
| - reopened | ||
| - edited | ||
| - ready_for_review | ||
|
|
||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
|
|
||
| jobs: | ||
| sizeup: | ||
| name: Label PR with size | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Run sizeup | ||
| uses: lerebear/sizeup-action@b7beb3dd273e36039e16e48e7bc690c189e61951 # 0.8.12 | ||
| with: | ||
| token: "${{ secrets.GITHUB_TOKEN }}" | ||
| configuration-file-path: ".github/sizeup.yml" | ||
| Back | FazBrowse Home | New Git URL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityWe have other workflows with these (or mostly these) triggers. Could we add this as a job to e.g. pr-checks.yml?
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityThe PR checks also trigger on pull_request and workflow_dispatch. We could filter out those triggers with an if but I'm not sure of the benefit.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.