chore: migrate workflow helper scripts for #320 phase B #287
Workflow file for this run
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: Pull Request Labeling | |
| on: | |
| - pull_request | |
| jobs: | |
| labeler: | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - id: label-the-PR | |
| uses: actions/labeler@v6 | |
| with: | |
| configuration-path: '.github/labeler.yaml' | |
| - id: run-tests | |
| if: contains(steps.label-the-PR.outputs.all-labels, 'changes/source') | |
| run: | | |
| echo "Running tests..." | |
| # Put your commands for running backend tests here | |
| size-label: | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: size-label | |
| uses: "pascalgn/size-label-action@v0.5.7" | |
| env: | |
| GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
| IGNORED: ".*\n!.gitignore\n!.github\n!LICENSE\n!README.md\n!Makefile\n!basic-setup.gitconfig\n!.gitmodules\n!.editorconfig" |