Skip to content

Commit

Permalink
#45 Migrate repository
Browse files Browse the repository at this point in the history
  • Loading branch information
docktermj committed Jan 2, 2024
1 parent ff4e17c commit 4dc5b99
Show file tree
Hide file tree
Showing 42 changed files with 131 additions and 269 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Default code owner

* @Senzing/go-developers
* @senzing-garage/senzing-go-developers
38 changes: 0 additions & 38 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

26 changes: 0 additions & 26 deletions .github/ISSUE_TEMPLATE/documentation_request.md

This file was deleted.

17 changes: 0 additions & 17 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/add-dependabot-request-to-project-t-comm.yaml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/workflows/add-issue-to-project-t-comm.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
name: identify-customer.yaml

name: add-label-customer-submission.yaml
on:
issues:
types:
- opened

env:
GITHUB_TOKEN: ${{ secrets.ORG_MEMBERSHIP_TOKEN }}
MEMBER_LIST: ${{ secrets.SENZING_MEMBERS }}
CREATOR: ${{ github.actor }}

jobs:
identify-customer:
name: Add customer-submission label
automate-issues-labels:
name: Add customer-submission label to issue
runs-on: ubuntu-latest
steps:
- name: initial labeling
- name: Add customer-submission label
env:
BOOL: ${{ contains( env.MEMBER_LIST, env.CREATOR ) }}
if: ${{ env.BOOL == 'false' }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,15 @@
# Based on
# - https://docs.github.com/en/actions/guides/adding-labels-to-issues
# - https://github.com/andymckay/labeler

name: add-triage-label.yaml

name: add-label-triage.yaml
on:
issues:
types:
- reopened
- opened

jobs:
add-triage-label:
automate-issues-labels:
name: Add triage label to issue
runs-on: ubuntu-latest
steps:
- name: initial labeling
- name: Add triage label
uses: andymckay/labeler@1.0.4
with:
add-labels: "triage"
21 changes: 21 additions & 0 deletions .github/workflows/add-to-project-garage-dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: add-to-project-garage-dependabot.yaml
on:
pull_request:
types:
- opened
- reopened
env:
CREATOR: ${{ github.event.pull_request.user.login }}
jobs:
add-to-project:
name: Add dependabot pull request to project
runs-on: ubuntu-latest
steps:
- name: Assign pull request to project
env:
BOOL: ${{ contains( env.CREATOR, 'dependabot' ) }}
if: ${{ env.BOOL == 'true' }}
uses: actions/add-to-project@v0.5.0
with:
project-url: https://github.com/orgs/senzing-garage/projects/3
github-token: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }}
16 changes: 16 additions & 0 deletions .github/workflows/add-to-project-garage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: add-to-project-garage.yaml
on:
issues:
types:
- reopened
- opened
jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- name: Assign issue to project
uses: actions/add-to-project@v0.5.0
with:
project-url: https://github.com/orgs/senzing-garage/projects/3
github-token: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }}
5 changes: 1 addition & 4 deletions .github/workflows/dependabot-approve-and-merge.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
---
name: dependabot-approve-and-merge.yaml

on:
pull_request:
branches: [main]

jobs:
dependabot-approve-and-merge:
permissions:
contents: write
pull-requests: write
uses: Senzing/build-resources/.github/workflows/dependabot-approve-and-merge.yaml@main
uses: senzing-factory/build-resources/.github/workflows/dependabot-approve-and-merge.yaml@main
secrets:
SENZING_GITHUB_CODEOWNER_PR_RW_TOKEN: ${{ secrets.SENZING_GITHUB_CODEOWNER_PR_RW_TOKEN }}
4 changes: 1 addition & 3 deletions .github/workflows/go-proxy-pull.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,15 @@
# - https://futurestud.io/tutorials/github-actions-run-a-workflow-when-creating-a-tag

name: go-proxy-pull.yaml

on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"

jobs:
go-proxy-pull:
runs-on: ubuntu-latest
steps:
- name: Pull new module version
uses: andrewslotin/go-proxy-pull-action@v1.1.0
with:
import_path: github.com/senzing/go-cmdhelping
import_path: github.com/senzing-garage/go-cmdhelping
2 changes: 0 additions & 2 deletions .github/workflows/go-test-darwin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
# - https://github.com/marketplace/actions/setup-go-environment

name: go-test-darwin.yaml

on: [push]

jobs:
go-test-darwin:
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/go-test-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
# - https://github.com/marketplace/actions/setup-go-environment

name: go-test-linux.yaml

on: [push]

jobs:
go-test-linux:
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/go-test-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
# - https://github.com/marketplace/actions/setup-go-environment

name: go-test-windows.yaml

on: [push]

jobs:
go-test-windows:
runs-on: ${{ matrix.os }}
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/gofmt.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
---
name: gofmt.yaml

on:
pull_request:
branches: [main]

jobs:
gofmt:
uses: Senzing/build-resources/.github/workflows/gofmt.yaml@main
uses: senzing-factory/build-resources/.github/workflows/gofmt.yaml@main
2 changes: 0 additions & 2 deletions .github/workflows/gosec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
# - https://github.com/securego/gosec

name: gosec.yaml

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
gosec:
runs-on: ubuntu-latest
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/make-go-tag.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: make-go-tag.yaml

on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"

permissions: write-all
jobs:
make-go-tag:
name: Make a vM.m.P tag
Expand All @@ -13,4 +12,4 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Make go version tag
uses: Senzing/github-action-make-go-tag@main
uses: senzing-factory/github-action-make-go-tag@main
5 changes: 1 addition & 4 deletions .github/workflows/move-pr-to-done.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
---
name: move-pr-to-done.yaml

on:
pull_request:
types: [closed]

jobs:
move-pr-to-done:
uses: Senzing/build-resources/.github/workflows/move-pr-to-done.yaml@main
uses: senzing-factory/build-resources/.github/workflows/move-pr-to-done.yaml@main
secrets:
SENZING_GITHUB_PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }}
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed in 0.1.9

- Refactor to [template-go](https://github.com/Senzing/template-go)
- Refactor to [template-go](https://github.com/senzing-garage/template-go)
- Update dependencies
- github.com/senzing/go-common v0.3.1
- github.com/senzing-garage/go-common v0.3.1
- github.com/spf13/viper v1.17.0

## [0.1.8] - 2023-08-29
Expand Down Expand Up @@ -44,7 +44,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Refactored to `template-go`
- Updated dependencies
- github.com/senzing/go-common v0.2.11
- github.com/senzing-garage/go-common v0.2.11

## [0.1.4] - 2023-08-02

Expand Down
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ This Code of Conduct applies both within project spaces and in public spaces whe

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at support@senzing.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at <support@senzing.com>. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ These variables may be modified, but do not need to be modified.
The variables are used throughout the installation procedure.

```console
export GIT_ACCOUNT=senzing
export GIT_ACCOUNT=senzing-garage
export GIT_REPOSITORY=go-cmdhelping
```

Expand Down
Loading

0 comments on commit 4dc5b99

Please sign in to comment.