Skip to content

Commit

Permalink
checkout v4
Browse files Browse the repository at this point in the history
  • Loading branch information
dacieri committed May 29, 2024
1 parent 143ecb6 commit 6c60930
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/Hog-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,24 +121,18 @@ jobs:
runs-on: ubuntu-latest
container: gitlab-registry.cern.ch/hog/hog-docker:tclsh
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
name: Checkout Repository
with:
fetch-depth: 0
- uses: webfactory/[email protected]
name: SSH-Agent
with:
ssh-private-key: ${{ secrets.SUBMODULE_CONTENT_PULL_KEY }}
token: ${{secrets.HOG_PUSH_TOKEN}}
submodules: 'true'
# - uses: webfactory/[email protected]
# name: SSH-Agent
# with:
# ssh-private-key: ${{ secrets.SUBMODULE_CONTENT_PULL_KEY }}
- name: Merge And Tag
run: |
git config --system --add safe.directory $(pwd)
git config --global user.email "$HOG_EMAIL"
git config --global user.name "$HOG_USER"
git fetch
git checkout $GITHUB_HEAD_REF
git pull
git submodule init
git submodule update
# Check if this is a valid hotfix or feature branch
if [ -f "Top/repo.conf" ]; then
enable_develop_branch=$(awk -F "=" '/ENABLE_DEVELOP_BRANCH/{ gsub(" |\t",""); print $2}' Top/repo.conf);
Expand Down

0 comments on commit 6c60930

Please sign in to comment.