Skip to content

Commit

Permalink
CI | Skip locales update on dependabot PRs (#2849)
Browse files Browse the repository at this point in the history
as it intentionally has no access to secrets: https://github.blog/changelog/2021-02-19-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions/

Signed-off-by: MichaIng <micha@dietpi.com>
  • Loading branch information
MichaIng authored Oct 4, 2023
1 parent 6b763dd commit 187c59b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update_locales.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ concurrency:

jobs:
update_locales:
# Skip for forks which have no access to secrets (PAT)
if: github.event.pull_request.head.repo.fork == false
# Skip for forks and dependabot which have no access to secrets (PAT)
if: github.event.pull_request.head.repo.fork == false && github.actor != 'dependabot[bot]'
runs-on: ubuntu-22.04
defaults:
run:
Expand Down

0 comments on commit 187c59b

Please sign in to comment.