diff --git a/.github/config/.linkspector.yml b/.github/config/.linkspector.yml new file mode 100644 index 0000000..b42c35b --- /dev/null +++ b/.github/config/.linkspector.yml @@ -0,0 +1,16 @@ +# https://github.com/UmbrellaDocs/linkspector?tab=readme-ov-file#configuration +dirs: + - . +useGitIgnore: true +aliveStatusCodes: + - 200 + - 201 + - 204 + - 206 + - 429 +ignorePatterns: + - pattern: '^https://localhost' + - pattern: '^https://github.com/orgs/zaphiro-technologies/' + - pattern: '^https://github.com/zaphiro-technologies/' +excludedDirs: + - examples/go/vendor diff --git a/.github/config/md-link-config.json b/.github/config/md-link-config.json deleted file mode 100644 index d439e6d..0000000 --- a/.github/config/md-link-config.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "ignorePatterns": [ - { - "pattern": "^https://github.com/zaphiro-technologies/" - }, - { - "pattern": "^http://pkg.go.dev/" - }, - { - "pattern": "^https://www.typhoon-hil.com/" - } - ] -} diff --git a/.github/workflows/new-release.yaml b/.github/workflows/new-release.yaml new file mode 100644 index 0000000..36622a1 --- /dev/null +++ b/.github/workflows/new-release.yaml @@ -0,0 +1,23 @@ +name: Publish new release + +concurrency: + group: ${{github.repository}}-new-release + cancel-in-progress: false + +on: + workflow_dispatch: + inputs: + tag: + description: 'Tag to be created (when empty, it will be automatically computed)' + required: false + type: string + default: '' + +jobs: + create-new-tag: + uses: zaphiro-technologies/github-workflows/.github/workflows/new-release.yaml@main + secrets: inherit + with: + tag: ${{ inputs.tag }} + language: 'python' + diff --git a/.snyk b/.snyk index cac8bca..b6c6fdb 100644 --- a/.snyk +++ b/.snyk @@ -5,3 +5,4 @@ patch: {} exclude: global: - vendor/** + - examples/go/vendor diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 275013f..7797ae2 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -8,6 +8,7 @@ ### Continuous Integration +- Add `new-release` workflow (PR #76 by @chicco785) - Pass `-coverpkg=./...` to `go test` to compute coverage across all packages (PR #61 by @chicco785)