r2sync 0.0.4

cli for synchronizing files between a local directory and Cloudflare R2
name: tagpr
on:
  push:
    branches:
    - "main"
  workflow_dispatch:
jobs:
  tagpr:
    runs-on: ubuntu-latest
    permissions:
      contents: write
      pull-requests: write
    steps:
    - name: checkout
      uses: actions/checkout@v4
    - name: tagpr
      id: tagpr
      uses: Songmu/tagpr@v1
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    - uses: ./.github/actions/release
      with:
        tag: ${{ steps.tagpr.outputs.tag }}
        cargo_token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
      if: "steps.tagpr.outputs.tag != ''"