diff options
| author | Egor Tensin <egor@tensin.name> | 2026-05-11 11:06:57 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-05-11 11:07:18 +0200 |
| commit | c30f3d3563dfed96c42acd40b2f955a883db798d (patch) | |
| tree | a1acb0695fedf0faa624bc47edee33910ed2f806 | |
| parent | workflows: move out yandex-cloud-cli-bin (diff) | |
| download | maintenance-c30f3d3563dfed96c42acd40b2f955a883db798d.tar.gz maintenance-c30f3d3563dfed96c42acd40b2f955a883db798d.zip | |
workflows: move out cgitize
| -rw-r--r-- | .github/workflows/cgitize.yml | 48 | ||||
| -rw-r--r-- | .github/workflows/main.yml | 4 |
2 files changed, 0 insertions, 52 deletions
diff --git a/.github/workflows/cgitize.yml b/.github/workflows/cgitize.yml deleted file mode 100644 index e7eb46a..0000000 --- a/.github/workflows/cgitize.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: cgitize - -on: - workflow_call: - workflow_dispatch: - -jobs: - maintenance: - runs-on: ubuntu-latest - name: '${{ matrix.project.repo }}' - env: - GH_TOKEN: '${{ github.token }}' - steps: - - name: Configure SSH - run: | - mkdir -p ~/.ssh - cat > ~/.ssh/config <<'EOF' - StrictHostKeyChecking no - EOF - - name: Set up ssh-agent - uses: webfactory/ssh-agent@v0.10.0 - with: - ssh-private-key: '${{ secrets.SSH_KEY }}' - - name: Checkout - run: | - git clone -q 'ssh://git@github.com/egor-tensin/cgitize.git' - - name: Set up Python - uses: actions/setup-python@v6 - with: - python-version-file: cgitize/.python-version - - name: Configure git - run: | - git config --global user.name 'Egor Tensin' - git config --global user.email 'egor@tensin.name' - - name: Run maintenance - id: maintenance - run: | - cd cgitize - make maintenance - commit="$( git rev-parse HEAD )" - echo "commit=$commit" >> "$GITHUB_OUTPUT" - - name: Wait until the run is finished - run: | - sleep 10 - cd cgitize - commit='${{ steps.maintenance.outputs.commit }}' - run_id="$( gh run list --commit "$commit" --json databaseId --jq '.[0].databaseId' )" - gh run watch --compact --exit-status "$run_id" diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b3225a4..9729765 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,10 +5,6 @@ on: jobs: - cgitize: - secrets: inherit - uses: ./.github/workflows/cgitize.yml - infra: secrets: inherit uses: ./.github/workflows/infra.yml |
