From a555ccc48b2f9215afcc109ab0d64e86fb6d349f Mon Sep 17 00:00:00 2001 From: klingbolt Date: Wed, 5 Feb 2025 23:47:56 -0500 Subject: [PATCH] added comments --- .github/workflows/diff_protobin.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/diff_protobin.yml b/.github/workflows/diff_protobin.yml index b3b581af..5ce0245c 100644 --- a/.github/workflows/diff_protobin.yml +++ b/.github/workflows/diff_protobin.yml @@ -1,11 +1,16 @@ name: Diff Protobin on: + # This event occurs when there is activity on a pull request pull_request_target: + # This filter looks for files that have been changed with the suffix bin or guildpoint paths: - '**/*.bin' - '**/*.guildpoint' - types: [opened, synchronize, ready_for_review] + # To reduce noise, this filter restricts to the default activity plus when a draft is changed to open + # Default activity types as listed in the documentation are "opened, synchronize, and reopened" + # https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request_target + types: [opened, ready_for_review, reopened, synchronize] jobs: custom-diff: runs-on: ubuntu-latest