1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Don't re-run on synchronize or label events (#44075)

This commit is contained in:
Peter Bengtsson
2023-10-10 08:54:03 -04:00
committed by GitHub
parent 2266028bab
commit 74efe6a754

View File

@@ -17,12 +17,6 @@ on:
# unlike 'pull_request_target', these only have secrets if the pull
# request creator has permission to access secrets.
pull_request_target:
types:
# In case someone puts the 'preview-with-translations' label on the PR
- opened
- synchronize
- reopened
- labeled
merge_group:
workflow_dispatch:
inputs:
@@ -60,7 +54,7 @@ jobs:
&& (github.event.number || inputs.PR_NUMBER || github.run_id)
)
&& (github.repository == 'github/docs-internal' || github.repository == 'github/docs')
&& github.actor != 'dependabot[bot]'
&& github.actor != 'dependabot[bot]'
timeout-minutes: 15
environment:
name: preview-env-${{ github.event.number }}