diff --git a/.github/workflows/linked-issue-to-pr-management.yml b/.github/workflows/linked-issue-to-pr-management.yml new file mode 100644 index 00000000..949e90bb --- /dev/null +++ b/.github/workflows/linked-issue-to-pr-management.yml @@ -0,0 +1,24 @@ +name: Linked Issue to PR Management + +on: + pull_request_target: + types: [opened, reopened] + issues: + types: [opened, labeled] + +jobs: + handle-issue: + if: github.event_name == 'issues' + permissions: + issues: write + contents: read + pull-requests: write + uses: krkn-chaos/actions/.github/workflows/linked-issue-to-pr-management.yml@main + handle-pr: + if: github.event_name == 'pull_request_target' + permissions: + issues: write + contents: read + pull-requests: write + uses: krkn-chaos/actions/.github/workflows/linked-issue-to-pr-management.yml@main +