diff --git a/.github/workflows/sync-version.yml b/.github/workflows/sync-version.yml index c7d31e83..e567fbdc 100644 --- a/.github/workflows/sync-version.yml +++ b/.github/workflows/sync-version.yml @@ -5,7 +5,6 @@ name: sync versions on: pull_request: - types: [labeled] permissions: contents: write @@ -13,6 +12,7 @@ permissions: jobs: sync-versions: + if: "${{ github.event.label.name == 'autorelease: pending' }}" runs-on: ubuntu-latest steps: - uses: actions/checkout@v3