Skip to content

Commit a5c88a3

Browse files
authored
Switch to docker image for Codeowners Plus (#12)
1 parent ba725c3 commit a5c88a3

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: 'Build & Publish'
2222
uses: elgohr/Publish-Docker-Github-Action@eb53b3ec07136a6ebaed78d8135806da64f7c7e2 # v5
2323
with:
24-
name: multimediallc/mm-codeowners
24+
name: multimediallc/codeowners-plus
2525
username: ${{ github.actor }}
2626
password: ${{ secrets.GITHUB_TOKEN }}
2727
registry: ghcr.io

action.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,4 @@ inputs:
1919

2020
runs:
2121
using: 'docker'
22-
# image: 'docker://ghcr.io/multimediallc/mm-codeowners:v0.1.0' # uncomment for v0.1 release
23-
image: 'Dockerfile'
22+
image: 'docker://ghcr.io/multimediallc/codeowners-plus:latest'

pkg/codeowners/codeowners_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ func TestGetOwnersFail(t *testing.T) {
119119
rgMan := NewReviewerGroupMemo()
120120
tree := initOwnerTreeNode("../../test_project", "../../test_project", rgMan, nil, io.Discard)
121121
testMap := tree.BuildFromFiles(files, rgMan)
122-
files = append(files, "non_existant_file")
122+
files = append(files, "non_existent_file")
123123
_, err := testMap.getOwners(files)
124124
if err == nil {
125125
t.Errorf("Expected error getting owners: %v", err)

0 commit comments

Comments
 (0)