Skip to content

Improve proxy mount options #1322

Improve proxy mount options

Improve proxy mount options #1322

name: Auto-request same-site reviewers
on:
# Works for PRs from branches and forks (runs in base-repo context)
pull_request_target:
types:
- opened
- ready_for_review
# Manual trigger for testing
workflow_dispatch:
inputs:
pr_number:
description: 'PR number to test with'
required: true
type: number
permissions:
contents: read
pull-requests: write
issues: write
jobs:
assign:
runs-on: ubuntu-latest
steps:
- name: Get GitHub App installation token
id: app
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.E2B_GH_APP_AUTO_REQUEST_SAME_SITE_APP_ID }}
private-key: ${{ secrets.E2B_GH_APP_AUTO_REQUEST_SAME_SITE_APP_PRIVATE_KEY }}
owner: e2b-dev
- name: Checkout repo (needed because the script lives in the repo)
uses: actions/checkout@v5
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 24
- name: Install deps
run: npm install
working-directory: .github/actions/auto-request-same-site
- name: Run same-site override
env:
APP_TOKEN: ${{ steps.app.outputs.token }}
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
ORG: e2b-dev
SF_TEAM_SLUG: eng-sf
PRG_TEAM_SLUG: eng-prg
REVIEWERS_TO_REQUEST: "1"
PR_NUMBER: ${{ inputs.pr_number }}
run: node .github/actions/auto-request-same-site/script.js