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

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-site.git


The following commit(s) were added to refs/heads/main by this push:
     new ab1b0e196d Add cooldown on upgrade of NPM and write permission for 
publishing (#1274)
ab1b0e196d is described below

commit ab1b0e196d9b9a119fde416320d4cd426b15d879
Author: Jarek Potiuk <[email protected]>
AuthorDate: Tue Nov 11 22:45:49 2025 +0100

    Add cooldown on upgrade of NPM and write permission for publishing (#1274)
---
 .github/dependabot.yml      | 4 +++-
 .github/workflows/build.yml | 5 +++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index a37317baa9..afd2188072 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -20,11 +20,13 @@
 version: 2
 updates:
   - package-ecosystem: npm
+    cooldown:
+      default-days: 4
     directories:
       - /landing-pages
     schedule:
       interval: daily
     groups:
-      npm-dependdencies:
+      npm-dependencies:
         patterns:
           - "*"
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2d7f9d1eda..5270838035 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -23,7 +23,7 @@ on:
   pull_request:
   workflow_dispatch:
 permissions:
-  contents: read
+  contents: write
 concurrency:
   group: build-${{ github.ref }}
   cancel-in-progress: true
@@ -62,7 +62,8 @@ jobs:
           submodules: recursive
           lfs: true
           fetch-depth: 1
-          persist-credentials: false
+          # We will push to the publish branch
+          persist-credentials: true
       - name: 📁Create /mnt/airflow-site directory
         run: sudo mkdir -p /mnt/airflow-site
       - name: 📁Move repository to /mnt

Reply via email to