diff --git a/.github/workflows/release-rust.yml b/.github/workflows/release-rust.yml index 69e77ae4..a4562077 100644 --- a/.github/workflows/release-rust.yml +++ b/.github/workflows/release-rust.yml @@ -22,7 +22,6 @@ jobs: pull-requests: read id-token: write env: - CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} PYO3_PYTHON: python steps: - name: Checkout repository @@ -53,13 +52,6 @@ jobs: # shipped, so this is safe to run on every push. run: cargo publish --dry-run -p agntcy-shadi-agent-secrets - - name: Require crates.io publish token - run: | - if [ -z "${CARGO_REGISTRY_TOKEN}" ]; then - echo "::error::CARGO_REGISTRY_TOKEN is not configured. Set the repository secret to allow release-plz to publish crates." - exit 1 - fi - - name: Run release-plz publish id: release-plz uses: release-plz/action@2eb1d8bcb770b4c48ccfaad919734b38b51958c9 # v0.5.131