Skip to content

Commit

Permalink
branch protection rules
Browse files Browse the repository at this point in the history
  • Loading branch information
giocaizzi committed Sep 17, 2023
1 parent 4cc7273 commit 377da06
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/pre-check-docks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 377da06

Please sign in to comment.