Create org-bot-caller.yml

This commit is contained in:
Stalin
2026-04-23 03:52:05 +05:30
committed by GitHub
parent 14765d7d18
commit 33770e2d8f
+22
View File
@@ -0,0 +1,22 @@
name: Organization Issue/PR Bot Caller
on:
issues:
types: [opened]
pull_request:
types: [opened]
permissions:
contents: read
issues: write
pull-requests: write
jobs:
org-bot:
uses: th30d4y/.github/.github/workflows/org-bot.yml@main
with:
event_type: ${{ github.event_name == 'issues' && 'Issue' || 'Pull Request' }}
number: ${{ github.event.issue.number || github.event.pull_request.number }}
title: ${{ github.event.issue.title || github.event.pull_request.title }}
url: ${{ github.event.issue.html_url || github.event.pull_request.html_url }}
secrets: inherit