[v3] update ci (#208)
All checks were successful
coverage / build (push) Successful in 1m16s
test / test (push) Successful in 3m38s

* rename .github to .github.old

* update readme

* rename .gitea to .github

* update ci

* fix linters
This commit is contained in:
2025-05-05 20:01:26 +05:00
committed by GitHub
parent f17bcbf046
commit 72f3f19b2f
25 changed files with 105 additions and 70 deletions

28
.github/autoapprove.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: "autoapprove"
on:
pull_request_target:
types: [assigned, opened, synchronize, reopened]
workflow_run:
workflows: ["prbuild"]
types:
- completed
permissions:
pull-requests: write
contents: write
jobs:
autoapprove:
runs-on: ubuntu-latest
steps:
- name: approve
run: [ "curl -o tea https://dl.gitea.com/tea/main/tea-main-linux-amd64",
"chmod +x ./tea",
"./tea login add --name unistack --token ${{ secrets.GITHUB_TOKEN }} --url https://git.unistack.org",
"./tea pr --repo ${{ github.event.repository.name }}"
]
if: github.actor == 'vtolstov'
id: approve
with:
github-token: ${{ secrets.GITHUB_TOKEN }}