diff --git a/.github/workflows/Generate.yml b/.github/workflows/Generate.yml index 4ed44828..e476ae29 100644 --- a/.github/workflows/Generate.yml +++ b/.github/workflows/Generate.yml @@ -21,17 +21,18 @@ jobs: - name: poetry lock run: | rm -f poetry.lock - sed -i "8,11d" pyproject.toml + sed -i.bak "8,11d" pyproject.toml poetry lock + mv pyproject.toml.bak pyproject.toml # commit - name: commit file run: | git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" git add poetry.lock - git commit -m "${date}n: Auto generate poetry.lock" -a + git commit -m "Auto generate poetry.lock" -a # push - name: push changes uses: ad-m/github-push-action@master with: - github_token: ${{ secrets.ACCESS_TOKEN }} \ No newline at end of file + github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/pyproject.toml b/pyproject.toml index 5b337ade..d7900df9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,4 +48,3 @@ wordcloud = "^1.8.1" [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" -