mirror of
https://github.com/coder/coder.git
synced 2026-10-25 09:42:55 +08:00
24 lines
659 B
YAML
24 lines
659 B
YAML
# Filtering pull requests is much easier when we can reliably guarantee
|
|
# that the "Assignee" field is populated.
|
|
name: PR Auto Assign
|
|
|
|
on:
|
|
# zizmor: ignore[dangerous-triggers] We explicitly want to run on pull_request_target.
|
|
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@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
|
|
with:
|
|
egress-policy: audit
|
|
|
|
- name: Assign author
|
|
uses: toshimaru/auto-author-assign@16f0022cf3d7970c106d8d1105f75a1165edb516 # v2.1.1
|