From 25b884e6dbab502b9d168b6d453805665be68896 Mon Sep 17 00:00:00 2001 From: Charles Tian <46334090+charlestian23@users.noreply.github.com> Date: Tue, 13 Feb 2024 15:22:04 -0500 Subject: [PATCH] Update java-autoformat.yml Have auto-formatter trigger when more commits are added to a pull request --- .github/workflows/java-autoformat.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/java-autoformat.yml b/.github/workflows/java-autoformat.yml index ee16d7dd0..a77f2efbd 100644 --- a/.github/workflows/java-autoformat.yml +++ b/.github/workflows/java-autoformat.yml @@ -1,5 +1,7 @@ name: Java Code Auto Format -on: pull_request +on: + pull_request_target: + types: [opened, synchronize] jobs: format: