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

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

commit cb1280a0aa7d915ff4f30c4d3f78b69ca65ef949
Author: Shane Dell <[email protected]>
AuthorDate: Tue Sep 30 20:48:26 2025 -0400

    Fixing workflows
    
    - Update the documentation workflow to add another fail safe to ensure the 
enforce-checkbox job does not run on dependabot and scala-steward PRs.
    - Add a permissions section to scala-steward to see if it will make the PRs 
automatically run CI.
---
 .github/workflows/documentaion.yml  | 2 ++
 .github/workflows/scala-steward.yml | 4 ++++
 2 files changed, 6 insertions(+)

diff --git a/.github/workflows/documentaion.yml 
b/.github/workflows/documentaion.yml
index dcf1998..2e13a72 100644
--- a/.github/workflows/documentaion.yml
+++ b/.github/workflows/documentaion.yml
@@ -25,6 +25,8 @@ on:
 
 jobs:
   enforce-checkbox:
+    # this if is to further ensure that this job won't run on dependabot or 
scala-steward PRs
+    if: github.actor != "dependabot[bot]" && github.actor != 
"github-actions[bot]"
     runs-on: ubuntu-22.04
     steps:
       - name: Check required confirmation checkbox
diff --git a/.github/workflows/scala-steward.yml 
b/.github/workflows/scala-steward.yml
index c429d3e..accd907 100644
--- a/.github/workflows/scala-steward.yml
+++ b/.github/workflows/scala-steward.yml
@@ -21,6 +21,10 @@ on:
 
 name: Scala Steward CI
 
+permissions:
+  contents: write
+  pull-requests: write
+
 jobs:
   scala-steward:
     if: github.repository == 'apache/daffodil-vscode'

Reply via email to