diff --git a/.github/CODEOWNERS b/.gitea/CODEOWNERS similarity index 100% rename from .github/CODEOWNERS rename to .gitea/CODEOWNERS diff --git a/.gitea/workflows/build-go-packages.yml b/.gitea/workflows/build-go-packages.yml new file mode 100644 index 0000000..6c16c7e --- /dev/null +++ b/.gitea/workflows/build-go-packages.yml @@ -0,0 +1,18 @@ +name: Generate Go package +run-name: Generate Go ${{ inputs.VERSION || '1.19.0' }} +on: + push: + branches: + - 'releases/1.17.4.1' + - 'releases/**' + - main + +jobs: + go: + name: Go + uses: actions/versions-package-tools/.github/workflows/build-tool-packages.yml@main + with: + tool-name: "go" + tool-version: ${{ inputs.VERSION || '1.19.0' }} + publish-release: ${{ inputs.PUBLISH_RELEASES || false }} + secrets: inherit diff --git a/.github/workflows/codeql-analysis.yml b/.gitea/workflows/codeql-analysis.yml similarity index 100% rename from .github/workflows/codeql-analysis.yml rename to .gitea/workflows/codeql-analysis.yml diff --git a/.github/workflows/create-pr.yml b/.gitea/workflows/create-pr.yml similarity index 100% rename from .github/workflows/create-pr.yml rename to .gitea/workflows/create-pr.yml diff --git a/.github/workflows/get-go-versions.yml b/.gitea/workflows/get-go-versions.yml similarity index 100% rename from .github/workflows/get-go-versions.yml rename to .gitea/workflows/get-go-versions.yml diff --git a/.github/workflows/validate-manifest.yml b/.gitea/workflows/validate-manifest.yml similarity index 100% rename from .github/workflows/validate-manifest.yml rename to .gitea/workflows/validate-manifest.yml diff --git a/.github/workflows/build-go-packages.yml b/.github/workflows/build-go-packages.yml deleted file mode 100644 index 01cc145..0000000 --- a/.github/workflows/build-go-packages.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Generate Go package -run-name: Generate Go ${{ inputs.VERSION || '1.19.0' }} -on: - workflow_dispatch: - inputs: - VERSION: - description: 'Go version to build and upload' - required: true - default: '1.19.0' - PUBLISH_RELEASES: - description: 'Whether to publish releases' - type: boolean - required: true - default: false - pull_request: - paths-ignore: - - 'versions-manifest.json' - - 'LICENSE' - - '**.md' - branches: - - 'main' - push: - branches: - - 'releases/**' - -jobs: - go: - name: Go - uses: actions/versions-package-tools/.github/workflows/build-tool-packages.yml@main - with: - tool-name: "go" - tool-version: ${{ inputs.VERSION || '1.19.0' }} - publish-release: ${{ inputs.PUBLISH_RELEASES || false }} - secrets: inherit \ No newline at end of file