Skip to content

Update changelog for recent merges #322

Update changelog for recent merges

Update changelog for recent merges #322

Workflow file for this run

name: Auto-Assign PRs
on:
pull_request_target:
types: [opened, ready_for_review, reopened, synchronize]
permissions:
pull-requests: write
issues: write
jobs:
auto-assign:
runs-on: ubuntu-latest
steps:
- name: Assign and request review
uses: actions/github-script@v7
with:
script: |
const { owner, repo } = context.repo;
const pr = context.payload.pull_request;
const login = 'barneyonline';
// Assign to self (idempotent)
await github.rest.issues.addAssignees({
owner, repo, issue_number: pr.number, assignees: [login],
}).catch(() => {});
// Request review from self (no-op if author is same)
await github.rest.pulls.requestReviewers({
owner, repo, pull_number: pr.number, reviewers: [login],
}).catch(() => {});