Add cooldown on upgrade of NPM and write permission for publishing
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index a37317b..afd2188 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 2d7f9d1..5270838 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -23,7 +23,7 @@
pull_request:
workflow_dispatch:
permissions:
- contents: read
+ contents: write
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
@@ -62,7 +62,8 @@
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