From c6ba518070b51a1ee1beea7cb3b66fe63887fb5d Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sun, 23 Nov 2025 21:28:42 -0500 Subject: [PATCH] ci: misc --- .github/dependabot.yml | 12 ++++++++++++ .github/workflows/hugo.yaml | 6 +++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..a66b956 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +version: 2 +updates: + - package-ecosystem: 'github-actions' + directory: '/' + schedule: + interval: 'weekly' + commit-message: + prefix: 'ci' + groups: + github-actions: + patterns: + - '*' diff --git a/.github/workflows/hugo.yaml b/.github/workflows/hugo.yaml index eac9ae2..a82f771 100644 --- a/.github/workflows/hugo.yaml +++ b/.github/workflows/hugo.yaml @@ -1,4 +1,4 @@ -name: Deploy Hugo site to GitHub Pages +name: build-and-deploy on: # Runs on pushes targeting the default branch @@ -6,6 +6,9 @@ on: branches: - master + # Runs on pull requests + pull_request: + # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -64,6 +67,7 @@ jobs: # Deployment job deploy: + if: github.event_name == 'push' && github.ref == 'refs/heads/master' environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }}