From 88a16b45cfb81b52ba90db01bbdff7108ac54150 Mon Sep 17 00:00:00 2001 From: "Masih H. Derkani" Date: Mon, 10 Nov 2025 13:03:06 +0000 Subject: [PATCH] Integrate UCI lint, versioning and go check Add common UCI workflows to lint, stale check and version. --- .github/workflows/uci-lint.yml | 20 ++++++++++++++++++++ .github/workflows/uci-release-check.yml | 20 ++++++++++++++++++++ .github/workflows/uci-release-publish.yml | 18 ++++++++++++++++++ .github/workflows/uci-stale-check.yml | 21 +++++++++++++++++++++ 4 files changed, 79 insertions(+) create mode 100644 .github/workflows/uci-lint.yml create mode 100644 .github/workflows/uci-release-check.yml create mode 100644 .github/workflows/uci-release-publish.yml create mode 100644 .github/workflows/uci-stale-check.yml diff --git a/.github/workflows/uci-lint.yml b/.github/workflows/uci-lint.yml new file mode 100644 index 0000000..da403bf --- /dev/null +++ b/.github/workflows/uci-lint.yml @@ -0,0 +1,20 @@ +name: UCI + +on: + pull_request: + push: + branches: + - main + workflow_dispatch: + +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event_name == 'push' && github.sha || github.ref }} + cancel-in-progress: true + +jobs: + go-lint: + name: Go + uses: sei-protocol/uci/.github/workflows/go-lint.yml@v0.0.3 \ No newline at end of file diff --git a/.github/workflows/uci-release-check.yml b/.github/workflows/uci-release-check.yml new file mode 100644 index 0000000..bad1a8d --- /dev/null +++ b/.github/workflows/uci-release-check.yml @@ -0,0 +1,20 @@ +name: UCI + +on: + pull_request_target: + paths: [ 'version.json' ] + types: [ opened, synchronize, reopened, labeled, unlabeled ] + workflow_dispatch: + +permissions: + contents: write + pull-requests: write + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + release-check: + name: Release + uses: sei-protocol/uci/.github/workflows/release-check.yml@v0.0.3 \ No newline at end of file diff --git a/.github/workflows/uci-release-publish.yml b/.github/workflows/uci-release-publish.yml new file mode 100644 index 0000000..bf68fd5 --- /dev/null +++ b/.github/workflows/uci-release-publish.yml @@ -0,0 +1,18 @@ +name: UCI + +on: + push: + paths: [ 'version.json' ] + workflow_dispatch: + +permissions: + contents: write + +concurrency: + group: ${{ github.workflow }}-${{ github.sha }} + cancel-in-progress: true + +jobs: + releaser: + name: Release + uses: sei-protocol/uci/.github/workflows/release-publish.yml@v0.0.3 \ No newline at end of file diff --git a/.github/workflows/uci-stale-check.yml b/.github/workflows/uci-stale-check.yml new file mode 100644 index 0000000..760d5bc --- /dev/null +++ b/.github/workflows/uci-stale-check.yml @@ -0,0 +1,21 @@ +name: UCI + +on: + workflow_dispatch: + schedule: + - cron: '0 12 * * *' + +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.sha }} + cancel-in-progress: true + +jobs: + stale: + name: Stale + permissions: + issues: write + pull-requests: write + uses: sei-protocol/uci/.github/workflows/stale-check.yml@v0.0.3 \ No newline at end of file