fix: remove merge conflicts
This commit was merged in pull request #6.
This commit is contained in:
@@ -6,47 +6,24 @@ permissions:
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
<<<<<<< before updating
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
=======
|
||||
create_update_branch_and_pr:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
>>>>>>> after updating
|
||||
|
||||
steps:
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.12'
|
||||
<<<<<<< before updating
|
||||
|
||||
- name: Install tools
|
||||
run: |
|
||||
pip install copier
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Perform update
|
||||
run: |
|
||||
branch="chore/update-template-$(python -m uuid)"
|
||||
git checkout -b $branch
|
||||
msg = $(copier update --trust --defaults --conflict inline 2>&1 | sed -n 1p)
|
||||
git add -A
|
||||
git diff-index --quiet HEAD || git commit -a -m $msg
|
||||
git push -u origin $branch
|
||||
=======
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Create virtualenv
|
||||
run: |
|
||||
python -m virtualenv .venv
|
||||
run: |
|
||||
python -m virtualenv .venv
|
||||
|
||||
- name: Install tools
|
||||
run: |
|
||||
@@ -91,4 +68,3 @@ jobs:
|
||||
\"head\": \"$(echo $branch)\",
|
||||
\"base\": \"main\"
|
||||
}"
|
||||
>>>>>>> after updating
|
||||
|
||||
Reference in New Issue
Block a user