Skip to content

Commit 2f65fc6

Browse files
committed
Use github.actor for codeowner
1 parent ed3f661 commit 2f65fc6

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/makenew.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ name: Make New
44
on:
55
workflow_dispatch:
66
inputs:
7-
codeowner:
8-
description: Your GitHub username (my-user)
9-
required: true
107
repo:
118
description: GitHub repository name (new-repo)
129
required: true
@@ -35,7 +32,7 @@ jobs:
3532
gh repo-collab add $REPO $CODEOWNER --permission admin
3633
env:
3734
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
38-
CODEOWNER: ${{ github.event.inputs.codeowner }}
35+
CODEOWNER: ${{ github.actor }}
3936
REPO: seamapi/${{ github.event.inputs.repo }}
4037
DESCRIPTION: ${{ github.event.inputs.description }}
4138
bootstrap:
@@ -62,7 +59,7 @@ jobs:
6259
run: ./makenew.sh
6360
env:
6461
CI: 'true'
65-
mk_codeowner: ${{ github.event.inputs.codeowner }}
62+
mk_codeowner: ${{ github.actor }}
6663
mk_repo: ${{ github.event.inputs.repo }}
6764
mk_slug: ${{ github.event.inputs.slug }}
6865
mk_title: ${{ github.event.inputs.title }}

0 commit comments

Comments
 (0)