From bbd644202cca5f211f44a89b1a32f303e4f5c432 Mon Sep 17 00:00:00 2001 From: Hugo Gruson Date: Tue, 31 Oct 2023 11:21:26 +0100 Subject: [PATCH] Prevent pkgdown workflow to push in merge queues --- .github/workflows/pkgdown.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index 6db458a..2e2b15f 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -71,7 +71,7 @@ jobs: shell: Rscript {0} - name: Deploy to GitHub pages 🚀 - if: github.event_name != 'pull_request' + if: !contains(fromJSON('["merge_group", "pull_request"]'), github.event_name) uses: JamesIves/github-pages-deploy-action@4.1.4 with: # We clean on releases because we want to remove old vignettes,