testat #1
This file contains 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 Labeler" | |
on: | |
- pull_request_target | |
jobs: | |
labeler: | |
permissions: | |
contents: read | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- id: label-the-PR | |
uses: actions/labeler@v5 | |
- id: run-frontend-tests | |
if: contains(steps.label-the-PR.outputs.all-labels, 'frontend') | |
run: | | |
echo "Running frontend tests..." | |
# Put your commands for running frontend tests here | |
- id: run-backend-tests | |
if: contains(steps.label-the-PR.outputs.all-labels, 'backend') | |
run: | | |
echo "Running backend tests..." | |
# Put your commands for running backend tests here |