Skip to content

Commit

Permalink
feat: replaced labels with new syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Mateusz Urbanek <[email protected]>
  • Loading branch information
shanduur-akamai committed Nov 24, 2023
1 parent b8bca32 commit 9c26706
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 24 deletions.
27 changes: 9 additions & 18 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,28 @@
good first issue:
name: good first issue
- name: good first issue
color: 7057ff
description: Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted:
name: help wanted
- name: help wanted
color: 006b75
description: Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.

area/api:
name: area/api
- name: area/api
color: 0052cc
description: Indicates an issue on api area.
area/dependency:
name: area/dependency
- name: area/dependency
color: 0052cc
description: Issues or PRs related to dependency changes
area/example:
name: area/example
- name: area/example
color: 0052cc

kind/bug:
name: kind/bug
- name: kind/bug
color: e11d21
description: Categorizes issue or PR as related to a bug.
kind/documentation:
name: kind/documentation
- name: kind/documentation
color: c7def8
description: Categorizes issue or PR as related to documentation.
kind/feature:
name: kind/feature
- name: kind/feature
color: c7def8
description: Categorizes issue or PR as related to a new feature.
kind/support:
name: kind/support
- name: kind/support
color: d455d0
description: Categorizes issue or PR as a support question.
4 changes: 2 additions & 2 deletions .github/workflows/00-labels-sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- .github/labels.yml

env:
OWNER: shanduur
OWNER: linode
REPO: ${{ github.event.repository.name }}

permissions: write-all
Expand All @@ -27,7 +27,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.20'
- run: go install github.com/shanduur/labeler/cmd/labeler@main
- run: go install github.com/shanduur/labeler/cmd/labeler@v1.0.0
- run: labeler upload --owner ${{ env.OWNER }} --repo ${{ env.REPO }} ./.github/labels.yml
env:
LABELER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ RUN go mod download

# Copy the go source.
COPY cmd/ cmd/
COPY internal/ internal/
COPY pkg/ pkg/
COPY Makefile Makefile

Expand Down
2 changes: 1 addition & 1 deletion pkg/endpoint/endpoint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"net/url"
"testing"

"github.com/linode/linode-cosi-driver/internal/testutils"
"github.com/linode/linode-cosi-driver/pkg/testutils"
)

func TestEndpointListener(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/testutils/must_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"errors"
"testing"

"github.com/linode/linode-cosi-driver/internal/testutils"
"github.com/linode/linode-cosi-driver/pkg/testutils"
)

func TestDo(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/testutils/testcontext_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"testing"
"time"

"github.com/linode/linode-cosi-driver/internal/testutils"
"github.com/linode/linode-cosi-driver/pkg/testutils"
)

var DefaultTimeout = time.Second * 30
Expand Down

0 comments on commit 9c26706

Please sign in to comment.