Skip to content

Commit 0d22db5

Browse files
committed
fix: convert workflow and version 2
1 parent 45c6431 commit 0d22db5

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/convert.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- name: Checkout master
16+
- name: Checkout full history
1717
uses: actions/checkout@v4
1818
with:
1919
ref: master
20+
fetch-depth: 0 # <-- allows commits, no detached HEAD
2021
persist-credentials: false
2122

2223
- name: Install pandoc
@@ -29,11 +30,10 @@ jobs:
2930
pandoc README.md --from markdown -f gfm --to rst -s -o docs/index.rst
3031
cat docs/appending >> docs/index.rst
3132
32-
- name: Commit and push updated index.rst
33+
- name: Commit and force-push updated index.rst
3334
run: |
3435
git config --global user.name "YoEnte"
3536
git config --global user.email "[email protected]"
36-
git pull --rebase
3737
git add docs/index.rst
3838
git commit -m "docs: auto update index.rst" || exit 0
39-
git push https://x-access-token:${{ secrets.PAT_PUSH_MASTER }}@github.com/software-challenge/player_python.git master
39+
git push --force https://x-access-token:${{ secrets.PAT_PUSH_MASTER }}@github.com/software-challenge/player_python.git master

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "_socha"
3-
version = "4.3.6"
3+
version = "4.3.7"
44
edition = "2021"
55

66
[lib]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "socha"
7-
version = "4.3.6"
7+
version = "4.3.7"
88
authors = [
99
{ name = "yoente", email = "[email protected]" },
1010
{ name = "maxblan", email = "[email protected]" },

0 commit comments

Comments
 (0)