mirror of
https://github.com/actions/labeler.git
synced 2025-12-12 12:37:48 +00:00
Fix a typo in the example about using the action outputs (#606)
This commit is contained in:
@@ -165,16 +165,16 @@ jobs:
|
|||||||
pull-requests: write
|
pull-requests: write
|
||||||
steps:
|
steps:
|
||||||
- id: label-the-PR
|
- id: label-the-PR
|
||||||
uses: actions/labeler@v3
|
uses: actions/labeler@v4
|
||||||
|
|
||||||
- id: run-frontend-tests
|
- id: run-frontend-tests
|
||||||
if: contains(fromJson(steps.label-the-PR.outputs.all-labels), 'frontend')
|
if: contains(steps.label-the-PR.outputs.all-labels, 'frontend')
|
||||||
run: |
|
run: |
|
||||||
echo "Running frontend tests..."
|
echo "Running frontend tests..."
|
||||||
# Put your commands for running frontend tests here
|
# Put your commands for running frontend tests here
|
||||||
|
|
||||||
- id: run-backend-tests
|
- id: run-backend-tests
|
||||||
if: contains(fromJson(steps.label-the-PR.outputs.all-labels), 'backend')
|
if: contains(steps.label-the-PR.outputs.all-labels, 'backend')
|
||||||
run: |
|
run: |
|
||||||
echo "Running backend tests..."
|
echo "Running backend tests..."
|
||||||
# Put your commands for running backend tests here
|
# Put your commands for running backend tests here
|
||||||
|
|||||||
Reference in New Issue
Block a user