This is an automated email from the ASF dual-hosted git repository.

shanedell pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/daffodil-vscode.git


The following commit(s) were added to refs/heads/main by this push:
     new b455c3d  Update documentation workflow
b455c3d is described below

commit b455c3d96b40373704d522c215fec46a052bd58a
Author: Shane Dell <[email protected]>
AuthorDate: Fri Sep 12 14:59:14 2025 -0400

    Update documentation workflow
    
    - Make it so documentation workflow does not run on pull requests for 
dependabot or scala-steward.
    - Update actions/github-script to use hash instead oof version.
    - Make workflow only run on pull_requests and not on push.
---
 .github/workflows/documentaion.yml | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/documentaion.yml 
b/.github/workflows/documentaion.yml
index 6b61105..d91830d 100644
--- a/.github/workflows/documentaion.yml
+++ b/.github/workflows/documentaion.yml
@@ -17,19 +17,18 @@
 name: Enforce Documentation Checkbox
 
 on:
-  push:
+  pull_request:
+    types: [opened, edited, synchronize, reopened]
     branches-ignore:
       - "dependabot/**" # dependabot PRs/branches
       - "update/**" # scala-steward PRs/branches
-  pull_request:
-    types: [opened, edited, synchronize, reopened]
 
 jobs:
   enforce-checkbox:
     runs-on: ubuntu-22.04
     steps:
       - name: Check required confirmation checkbox
-        uses: actions/github-script@v7
+        uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b
         with:
           script: |
             const prBody = context.payload.pull_request.body || "";

Reply via email to