Skip to content

Commit

Permalink
fix(labeler): Change workflow to match webapp action
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommaso Piazza committed Sep 16, 2021
1 parent 3114a64 commit 96fa681
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions workflow-templates/label-pr.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
name: "Pull Request Labeler"
name: "Label Pull Request"

on:
- pull_request_target
pull_request:
types: [opened, synchronize]

jobs:
triage:
label:
name: Label PR based on title
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v3
with:
repo-token: "${{secrets.OTTO_THE_BOT_GH_TOKEN}}"
- uses: srvaroa/labeler@v0.3
env:
GITHUB_TOKEN: ${{secrets.OTTO_THE_BOT_GH_TOKEN}}

0 comments on commit 96fa681

Please sign in to comment.