Skip to content
Merged
Show file tree
Hide file tree
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
7 changes: 7 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Code Owners — Aswincloud
# Global ownership: Aswin + admins. codeowners-bypass (the bot) is included so
# the automated approval can satisfy code-owner review when required.
* @Aswin-coder @Aswinmcw @Aswincloud/admins @Aswincloud/codeowners-bypass

# CI / automation
/.github/ @Aswin-coder @Aswinmcw @Aswincloud/admins @Aswincloud/codeowners-bypass
26 changes: 26 additions & 0 deletions .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Auto-approve admin PRs

# Thin caller — the logic lives in the org-level reusable workflow so it's
# defined once and reused everywhere. See Aswincloud/.github.
on:
pull_request_target:
types: [opened, reopened, ready_for_review, synchronize]

# This caller job needs no token of its own — the reusable workflow mints its
# own App token and uses the org PAT. Pin to none for least privilege.
permissions: {}

concurrency:
group: auto-approve-${{ github.event.pull_request.number }}
cancel-in-progress: true

jobs:
approve:
uses: Aswincloud/.github/.github/workflows/auto-approve.yml@main
# Pass ONLY the three secrets the reusable workflow declares — not
# `secrets: inherit`, which would forward every org secret (Cloudflare,
# Resend, PATs, ...) into a workflow that has no business seeing them.
secrets:
APP_ID: ${{ secrets.APP_ID }}
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
WRITE_ACCESS_PAT: ${{ secrets.WRITE_ACCESS_PAT }}
Loading