Skip to content

Commit b43b6e2

Browse files
committed
fix(github): do not skip scheduled labeler runs
1 parent fa38f73 commit b43b6e2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/labeler.yaml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ jobs:
1414
pull-requests: write
1515
issues: write
1616
# don't run on PRs from forks (token has no write permissions)
17-
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
17+
if: >-
18+
github.event_name == 'schedule' ||
19+
github.event_name == 'workflow_dispatch' ||
20+
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
1821
name: "Labeler"
1922
runs-on: ubuntu-latest
2023
steps:

0 commit comments

Comments
 (0)