From 377da06b0978f709fc305128d3d999efaee6d81f Mon Sep 17 00:00:00 2001 From: giocaizzi Date: Mon, 18 Sep 2023 00:06:35 +0200 Subject: [PATCH] branch protection rules --- .github/workflows/pre-check-docks.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/pre-check-docks.yml b/.github/workflows/pre-check-docks.yml index e233a37..5892865 100644 --- a/.github/workflows/pre-check-docks.yml +++ b/.github/workflows/pre-check-docks.yml @@ -22,18 +22,17 @@ jobs: # by default its main branch - uses: actions/checkout@v3 with: - fetch-depth: 0 + fetch-depth: "0" ref : ${{ github.ref }} - - # - name: Set up dependencies - # run: | - # pip install --upgrade pip - # pip install -r requirements.txt - # pip install -r docsrc/requirements.txt - # pip install . - + + # due to brach protection i need to do this on another branch - name: merge head branch of PR with base branch run: | + git branch precheck + git checkout precheck git merge ${{ github.head_ref }} git commit -m "merge head branch of PR with base branch" git checkout gh-pages + git merge precheck + + \ No newline at end of file