mirror of
https://github.com/gradle/actions.git
synced 2025-12-08 17:15:46 +08:00
Use pull_request triggers primarily for workflows
Instead of relying on push triggers in general, we now use pull_request and reserve push triggers for main and release branches. This makes the behaviour more consistent for users contributing from repository forks. However, we no longer have a quick-feedback loop for development.
This commit is contained in:
@@ -3,10 +3,7 @@ name: CI-check-no-dist-update
|
||||
# Prohibit any change to 'dist/**' on a non-release branch
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches-ignore:
|
||||
- 'main'
|
||||
- 'release/**'
|
||||
pull_request:
|
||||
paths:
|
||||
- 'dist/**'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user