Skip to content

Commit

Permalink
Change size labeling action's trigger event
Browse files Browse the repository at this point in the history
Change to `pull_request_target`, so fork builds don't fail
  • Loading branch information
damyan committed Sep 25, 2024
1 parent e626eb5 commit ff6ff8e
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/size-label.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
name: Size Label

on:
pull_request:

permissions:
contents: read
pull-requests: write
pull_request_target:
types:
- opened
- edited
- synchronize

jobs:
size-label:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: size-label
Expand Down

0 comments on commit ff6ff8e

Please sign in to comment.