mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
edd5d83280
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Lukasz <CommanderK5@users.noreply.github.com> Co-authored-by: blink-so[bot] <211532188+blink-so[bot]@users.noreply.github.com>
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@f808768d1510423e83855289c910610ca9b43176 # v2.17.0
|
|
with:
|
|
egress-policy: audit
|
|
|
|
- name: Assign author
|
|
uses: toshimaru/auto-author-assign@4d585cc37690897bd9015942ed6e766aa7cdb97f # v3.0.1
|