Skip to content

Commit

Permalink
temp update
Browse files Browse the repository at this point in the history
  • Loading branch information
karllu3 committed Jul 25, 2024
1 parent 93a2573 commit 06ce114
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/template_update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,31 +26,27 @@ jobs:
- name: Create Github project instance
run: cookiecutter . --no-input --config-file cookiecutter_default_gh.yaml

- name: List cookiecutter
run:
ls ds-gh-default


- name: Remote checkout
uses: actions/checkout@v4
with:
path: ds-gh-default
path: ds-gh-default2
ref: main
repository: karllu3/ds-lk-default
fetch-depth: 0
persist_credentials: true

- name: List repo
- name: cp repo
run:
ls ds-gh-default
cp -r ds-gh-default/* ds-gh-default2


- name: Set safe directory
run: |
git config --global --add safe.directory /__w/ds-template/ds-template
- name: Prepare git5
working-directory: ./ds-gh-default
working-directory: ./ds-gh-default2
run: |
git config --global user.email "[email protected]"
git config --global user.name "lukasz karlowski"
Expand All @@ -59,19 +55,19 @@ jobs:
- name: Validate package build
working-directory: ./ds-gh-default
working-directory: ./ds-gh-default2
run: |
python -m pip install .
- name: Install pre-commit
run: pip3 install pre-commit

- name: Run pre-commit checks
working-directory: ./ds-gh-default
working-directory: ./ds-gh-default2
run: pre-commit run --all-files --show-diff-on-failure --color always

- name: Push repo
working-directory: ./ds-gh-default
working-directory: ./ds-gh-default2
run: |
git commit -m "Repo after creation"
git push --set-upstream origin ds-default-check
Expand Down

0 comments on commit 06ce114

Please sign in to comment.