# Manual: transfer crates.io ownership to the org team, then drop the personal owner.
# Requires: crates.io OAuth app has access to the 'oblodai' GitHub org, and the token
# account (redixxx324234) is a member of the oblodai/owners team.
name: Transfer crate ownership
on:
workflow_dispatch:
permissions:
contents: read
jobs:
owner:
runs-on: ubuntu-latest
steps:
- uses: dtolnay/rust-toolchain@stable
- name: Add org team, then remove personal owner
run: |
set -e
cargo owner --add github:oblodai:owners oblodai
cargo owner --remove redixxx324234 oblodai
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}