Skip to content

Commit

Permalink
Update docs regarding pull_request_target
Browse files Browse the repository at this point in the history
Close #15
  • Loading branch information
fregante committed Jul 25, 2024
1 parent 4a15e50 commit 82397ad
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/title-to-labels.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
name: Self
on:
pull_request:
pull_request_target:
types: [opened, edited]
issues:
types: [opened, edited]

jobs:
Self:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: ./
Expand Down
8 changes: 6 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,16 @@ Title examples:
name: Labeler

on:
pull_request:
pull_request_target:
types: [opened, edited]
issues:
types: [opened, edited]

jobs:
Label:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: fregante/title-to-labels-action@v1
with:
Expand Down Expand Up @@ -78,14 +80,16 @@ Examples:
name: Labeler

on:
pull_request:
pull_request_target:
types: [opened, edited]
issues:
types: [opened, edited]

jobs:
Label:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: fregante/title-to-labels-action@v1
with:
Expand Down
4 changes: 3 additions & 1 deletion workflow/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
name: Labeler

on:
pull_request:
pull_request_target:
types: [opened, edited]
issues:
types: [opened, edited]

jobs:
Label:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: fregante/title-to-labels-action@v1
with:
Expand Down

0 comments on commit 82397ad

Please sign in to comment.