chore(deps): update dockerfile digest updates (rhoai-3.5-ea.2) #57
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
| name: PR Size Labeler | |
| on: | |
| pull_request_target: | |
| types: [opened, synchronize] | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| size-label: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: size-label | |
| id: size | |
| uses: pascalgn/size-label-action@56b489b027932ec0cf60438a1a5f1a19c8fc71ff | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| IGNORED: | | |
| go.sum | |
| go.mod | |
| *.generated.go | |
| vendor/** | |
| with: | |
| sizes: > | |
| { | |
| "0": "XS", | |
| "10": "S", | |
| "30": "M", | |
| "100": "L", | |
| "500": "XL", | |
| "1000": "XXL" | |
| } | |
| - name: Hold large PRs | |
| if: contains(steps.size.outputs.sizeLabel, 'XL') | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| gh pr edit ${{ github.event.pull_request.number }} \ | |
| --repo ${{ github.repository }} \ | |
| --add-label "do-not-merge/hold" | |
| gh pr comment ${{ github.event.pull_request.number }} \ | |
| --repo ${{ github.repository }} \ | |
| --body "⚠️ **Large PR detected** | |
| Your PR is large. Please consider breaking it into multiple PRs. | |
| The \`do-not-merge/hold\` label has been added and can be removed by the reviewers based on their judgement." |