From a3fc75635fd263ff1dc618aa1f624adec78faf76 Mon Sep 17 00:00:00 2001 From: Geoff Seemueller <28698553+geoffsee@users.noreply.github.com> Date: Fri, 10 Jan 2025 11:27:17 -0500 Subject: [PATCH] Update GitHub Actions workflow permissions and triggers Added write and read permissions for pull requests, statuses, checks, contents, and actions. Enhanced pull_request trigger with the "synchronize" type and introduced the "merge_group" trigger for merge queue checks. These changes improve workflow flexibility and automation capabilities. --- .github/workflows/tests.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a72f6e3..d5d6ae8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,12 +1,18 @@ name: Tests - +permissions: + pull-requests: write + statuses: write + checks: write + contents: read + actions: read on: push: branches: [main] pull_request: branches: [main] - types: [opened, reopened] - + types: [opened, reopened, synchronize] + merge_group: # triggers workflow for merge queue + types: [checks_requested] jobs: tests: permissions: