Skip to content

Commit

Permalink
ci: fix event
Browse files Browse the repository at this point in the history
  • Loading branch information
greatislander committed Jan 20, 2025
1 parent e4081f1 commit c3fee9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/sync-branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ jobs:
with:
ref: dev
fetch-depth: 0

- name: Get GitHub App User ID
if: ${{ github.event_name == 'release' }}
if: ${{ github.event_name == 'push' }}
id: get-user-id
run: echo "user-id=$(gh api "/users/${{ steps.app-token.outputs.app-slug }}[bot]" --jq .id)" >> "$GITHUB_OUTPUT"
env:
Expand Down

0 comments on commit c3fee9d

Please sign in to comment.