Replace deprecated cts-lab flags #194
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: Check file size | |
| # yamllint disable-line rule:truthy | |
| on: [push, pull_request] | |
| jobs: | |
| check-file-size: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pull-requests: write | |
| contents: read | |
| steps: | |
| - name: Checkout Branch | |
| uses: actions/checkout@v6 | |
| - name: Create empty needles directory to avoid dangling symlink that would cause the next step to fail | |
| run: mkdir products/opensuse/needles | |
| - name: "Check for oversized files" | |
| uses: freenet-actions/check-file-size@v1 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| max_size: 14000 | |
| fail_on_find: true | |
| post_comment: false |