From 4120bd1a16e5f57d7b280d949b6ff7f39641759b Mon Sep 17 00:00:00 2001 From: Francesco Ballarin Date: Tue, 21 Nov 2023 10:09:28 +0100 Subject: [PATCH] Move fem-on-colab/warn-workflow-about-to-be-disabled-action@main to a standalone job --- .github/workflows/fork_rebase.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/fork_rebase.yml b/.github/workflows/fork_rebase.yml index e62df8eb..83216121 100644 --- a/.github/workflows/fork_rebase.yml +++ b/.github/workflows/fork_rebase.yml @@ -29,8 +29,12 @@ jobs: cd dolfinx git checkout -b github_actions git merge fork/migration + + warn: + runs-on: ubuntu-latest + if: github.repository == 'multiphenics/multiphenicsx' && github.ref == 'refs/heads/main' && github.event_name == 'schedule' + steps: - name: Warn if scheduled workflow is about to be disabled - if: github.repository == 'multiphenics/multiphenicsx' && github.ref == 'refs/heads/main' && github.event_name == 'schedule' uses: fem-on-colab/warn-workflow-about-to-be-disabled-action@main with: workflow-filename: fork_rebase.yml