Skip to content

ci: add checkout

ci: add checkout #2

Workflow file for this run

name: add-owner
on:
workflow_dispatch:
inputs:
crate-name:
required: true
pull_request:
branches: [add-owner]
env:
CARGO_TERM_COLOR: always
jobs:
release:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Add crates.io ownership
run: |
cargo owner --add ${{github.actor}} ${{ github.event.inputs.crate-name }}
cargo owner --list ${{ github.event.inputs.crate-name }}
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_PUBLISH_TOKEN }}