Skip to content

Commit

Permalink
[CI/CD] Skip update_locales workflow on PRs from forks (#2696)
Browse files Browse the repository at this point in the history
When pull requests from forks are triggering the workflow, they have no access to secrets and no write access anyway. Updaing the locales can hence only fail and should then be skipped in the first place.

Signed-off-by: MichaIng <[email protected]>
  • Loading branch information
MichaIng authored Jan 29, 2023
1 parent a4f0997 commit 0b4b3c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/update_locales.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ concurrency:

jobs:
update_locales:
if: github.event.pull_request.head.repo.fork == false
runs-on: ubuntu-22.04
steps:
- uses: actions/setup-python@v4
Expand Down

0 comments on commit 0b4b3c1

Please sign in to comment.