From bce0ee60e2450fb42fe4cb3ded59ab1a541b6102 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Mon, 10 Jul 2023 10:09:05 +0200 Subject: [PATCH] ci: do not merge the notification script on PRs Signed-off-by: Matej Focko --- .github/workflows/preview-pr.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/preview-pr.yml b/.github/workflows/preview-pr.yml index 51086fb..f8fa586 100644 --- a/.github/workflows/preview-pr.yml +++ b/.github/workflows/preview-pr.yml @@ -37,6 +37,9 @@ jobs: - name: Merge the changes with the ‹main› run: git merge --no-edit tmp + - name: Check out the script from the ‹main› branch + run: git checkout origin/main .github/notify.py + - uses: actions/setup-node@v3 with: node-version: 18