Skip to content

Commit

Permalink
Update label.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AlligatorAffe authored Apr 18, 2024
1 parent f528eef commit 07b51d9
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
name: Labeler
on: [pull_request_target]
name: "Pull Request Labeler"
on:
- pull_request_target

jobs:
label:

runs-on: ubuntu-latest
jobs:
labeler:
permissions:
contents: read
pull-requests: write

runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
- id: label-the-PR
uses: actions/labeler@v5

- 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

0 comments on commit 07b51d9

Please sign in to comment.