Skip to content

Commit

Permalink
Update to the new workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidtw committed Aug 14, 2023
1 parent f15f9c8 commit 0dcd456
Show file tree
Hide file tree
Showing 7 changed files with 88 additions and 58 deletions.
26 changes: 26 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# SPDX-FileCopyrightText: 2023 Comcast Cable Communications Management, LLC
# SPDX-License-Identifier: Apache-2.0
---
version: 2
updates:

- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every week
interval: "daily"
labels:
- "dependencies"
commit-message:
prefix: "chore"
include: "scope"

- package-ecosystem: gomod
directory: /
schedule:
interval: daily
labels:
- "dependencies"
commit-message:
prefix: "feat"
include: "scope"
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# SPDX-FileCopyrightText: 2022 Comcast Cable Communications Management, LLC
# SPDX-License-Identifier: Apache-2.0
---
name: CI

on:
push:
branches:
- main
paths-ignore:
- README.md
- CONTRIBUTING.md
- MAINTAINERS.md
- LICENSE
- NOTICE
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
pull_request:
workflow_dispatch:

jobs:
ci:
uses: xmidt-org/shared-go/.github/workflows/ci.yml@5bc4b83f25ff4c944cd6253ba189e50d1997ab3c # v4.1.0
with:
copyright-skip: true
release-type: library
secrets: inherit
15 changes: 15 additions & 0 deletions .github/workflows/dependabot-approver.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# SPDX-FileCopyrightText: 2022 Comcast Cable Communications Management, LLC
# SPDX-License-Identifier: Apache-2.0
---
name: 'Dependabot auto approval'

on:
pull_request_target
permissions:
pull-requests: write
contents: write

jobs:
package:
uses: xmidt-org/.github/.github/workflows/dependabot-approver-template.yml@main
secrets: inherit
17 changes: 17 additions & 0 deletions .github/workflows/proj-xmidt-team.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# SPDX-FileCopyrightText: 2022 Comcast Cable Communications Management, LLC
# SPDX-License-Identifier: Apache-2.0
---
name: 'PROJ: xmidt-team'

on:
issues:
types:
- opened
pull_request:
types:
- opened

jobs:
package:
uses: xmidt-org/.github/.github/workflows/proj-template.yml@proj-v1
secrets: inherit
8 changes: 3 additions & 5 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
linters-settings:
misspell:
locale: US
errorlint:
# Report non-wrapping error creation using fmt.Errorf
errorf: false

linters:
enable:
Expand All @@ -24,8 +27,3 @@ issues:
linters:
- dupl
- funlen

linters-settings:
errorlint:
# Report non-wrapping error creation using fmt.Errorf
errorf: false
34 changes: 0 additions & 34 deletions .sonar-project.properties

This file was deleted.

19 changes: 0 additions & 19 deletions rpkg.macros

This file was deleted.

0 comments on commit 0dcd456

Please sign in to comment.