diff --git a/.github/workflows/octo-pr-feed.yml b/.github/workflows/octo-pr-feed.yml new file mode 100644 index 00000000..5e4975e5 --- /dev/null +++ b/.github/workflows/octo-pr-feed.yml @@ -0,0 +1,27 @@ +name: Octo PR Feed + +on: + pull_request_target: # zizmor: ignore[dangerous-triggers] metadata-only automation; no PR code executed + types: [opened, closed, reopened] + branches: [main] + +permissions: {} + +jobs: + notify: + if: ${{ !github.event.pull_request.draft }} + uses: Mininglamp-OSS/.github/.github/workflows/octo-pr-feed.yml@main + with: + repo_name: ${{ github.event.repository.name }} + pr_number: ${{ github.event.pull_request.number }} + pr_title: ${{ github.event.pull_request.title }} + pr_url: ${{ github.event.pull_request.html_url }} + pr_author: ${{ github.event.pull_request.user.login }} + pr_merged: ${{ github.event.pull_request.merged }} + pr_additions: ${{ github.event.pull_request.additions }} + pr_deletions: ${{ github.event.pull_request.deletions }} + pr_changed_files: ${{ github.event.pull_request.changed_files }} + event_action: ${{ github.event.action }} + project_group_id: '9ea115c7462b4b45b8c85d07d07e0dde' + secrets: + OCTO_BOT_TOKEN: ${{ secrets.OCTO_BOT_TOKEN }}