Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions .github/workflows/pr-triage.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: PR Triage

on:
push:
branches:
- '**' # All branches
- '!main' # Exclude main if needed
pull_request:
types: [opened, reopened, synchronize]
workflow_dispatch:
inputs:
pr_number:
Expand All @@ -18,9 +16,8 @@ permissions:

jobs:
triage-pr:
if: github.event.pull_request != null || inputs.pr_number != '' # Only run if it's part of a PR or pr_number is provided
uses: OpenSwiftUIProject/github-workflows/.github/workflows/pr-triage.yml@main
with:
# fromJSON workaround number inputs: https://github.com/orgs/community/discussions/67182#discussioncomment-8617964
pr_number: ${{ fromJSON(inputs.pr_number) }}
pr_number: ${{ inputs.pr_number && fromJSON(inputs.pr_number) || github.event.pull_request.number }}
secrets: inherit