From a1aaf5cd7e42c6c6884f303c7494416772def0cf Mon Sep 17 00:00:00 2001 From: melfey Date: Thu, 10 Sep 2026 19:31:37 -0500 Subject: [PATCH] ci: Added gh tool install. --- .gitea/workflows/release-plz.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitea/workflows/release-plz.yml b/.gitea/workflows/release-plz.yml index 869e33e..d280da8 100644 --- a/.gitea/workflows/release-plz.yml +++ b/.gitea/workflows/release-plz.yml @@ -29,6 +29,12 @@ jobs: name: Install Rust toolchain uses: dtolnay/rust-toolchain@stable + - &install-gh + name: Install gh cli tool + run: | + apt-get update + apt-get install gh -y + - name: Run release-plz uses: release-plz/action@v0.5 with: @@ -36,6 +42,7 @@ jobs: forge: gitea regsitry: gitea env: + GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }} CARGO_REGISTRIES_GITEA_TOKEN: ${{ secrets.CARGO_REGISTRIES_GITEA_TOKEN }} # Create a PR with the new versions and changelog, preparing the next release. @@ -55,6 +62,7 @@ jobs: - *checkout - *install-rust + - *install-gh - name: Run release-plz uses: release-plz/action@v0.5 @@ -63,4 +71,5 @@ jobs: forge: gitea regsitry: gitea env: + GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }} CARGO_REGISTRIES_GITEA_TOKEN: ${{ secrets.CARGO_REGISTRIES_GITEA_TOKEN }}