Skip to content

Commit

Permalink
Use pull_request_target for running Transifex sync call
Browse files Browse the repository at this point in the history
  • Loading branch information
hiciefte committed Oct 2, 2024
1 parent 1f642a8 commit 3fc1542
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
pull_request:
types: [ opened, reopened, synchronize, closed ]
branches: [ main ]
pull_request_target:
types: [ closed ]
branches: [ main ]

permissions:
contents: read
Expand Down Expand Up @@ -71,7 +74,7 @@ jobs:
build-root-dir: wallets

if_merged:
if: github.event.pull_request.merged == true
if: github.event.pull_request_target.merged == true
name: Push translation source files to Transifex
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 3fc1542

Please sign in to comment.