Skip to content

Commit

Permalink
Update condition for publishing to use actor
Browse files Browse the repository at this point in the history
  • Loading branch information
musale authored Oct 16, 2024
1 parent dda34db commit ffdb1e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_test_validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,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-core-sdk')}}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && github.actor == 'release-please[bot]'}}
needs: build
environment:
name: production_feed
Expand Down

0 comments on commit ffdb1e5

Please sign in to comment.