mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
23 lines
570 B
YAML
23 lines
570 B
YAML
# Filtering pull requests is much easier when we can reliably guarantee
|
|
# that the "Assignee" field is populated.
|
|
name: PR Auto Assign
|
|
|
|
on:
|
|
pull_request_target:
|
|
types: [opened]
|
|
|
|
permissions:
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
assign-author:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Harden Runner
|
|
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
|
|
with:
|
|
egress-policy: audit
|
|
|
|
- name: Assign author
|
|
uses: toshimaru/auto-author-assign@16f0022cf3d7970c106d8d1105f75a1165edb516 # v2.1.1
|