Skip to content

Commit

Permalink
chore: disable PR labeller for forks (#2574)
Browse files Browse the repository at this point in the history
* chore: added permissions for pr-labeller

* chore: fix indent

* chore: rebuild

* chore: fix

* chore: try assigning perms to job

* chore: disable pr labeller on forks
  • Loading branch information
petertonysmith94 authored Jun 21, 2024
1 parent 0206568 commit e2259ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
label_pull_request:
runs-on: ubuntu-latest

if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
steps:
- uses: fuxingloh/multi-labeler@v4
with:
Expand Down

0 comments on commit e2259ed

Please sign in to comment.