about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-12-03 08:10:13 -0800
committerFranck Cuny <franck@fcuny.net>2023-12-03 08:13:56 -0800
commitb5ae6542e6cfbb0f7fc4cd4041e3743a96481248 (patch)
tree4ac2f9aff2542404b749b0f63e6b41fcb172e8a8
parentupdate workflow to update flake.lock (diff)
downloadfcuny.net-b5ae6542e6cfbb0f7fc4cd4041e3743a96481248.tar.gz
I truly hate testing GH workflows
don't trigger a build and deploy when I'm testing workflows.
-rw-r--r--.github/workflows/page.yml3
-rw-r--r--.github/workflows/update.yml4
2 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/page.yml b/.github/workflows/page.yml
index 14a4a13..5260b0d 100644
--- a/.github/workflows/page.yml
+++ b/.github/workflows/page.yml
@@ -3,6 +3,9 @@ name: Deploy to Pages
 on:
   push:
     branches: ["main"]
+    paths-ignore:
+      - '.github/**'
+      - 'README.md'
   workflow_dispatch:
 
 permissions:
diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml
index 4da3ab4..27592ec 100644
--- a/.github/workflows/update.yml
+++ b/.github/workflows/update.yml
@@ -4,11 +4,11 @@ on:
   schedule:
     - cron: '30 5 * * 0'
 
+# you need to grant permissions to create PR:
+# https://github.com/DeterminateSystems/update-flake-lock/issues/75
 jobs:
   update-flake-lock:
     runs-on: ubuntu-latest
-    permissions:
-      pull-requests: write
     steps:
       - name: Checkout repository
         uses: actions/checkout@v4