diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b9ffb251937..671fe92dc6b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -63,7 +63,7 @@ jobs: run: exit 1 publish-npm: - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && github.event.before == 'release-please--branches--main--components--msgraph-ts-sdk')}} + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && github.actor == 'release-please[bot]'}} needs: build environment: name: production_feed