-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from SENATOROVAI/main
upd
- Loading branch information
Showing
7 changed files
with
142 additions
and
345 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,15 +3,14 @@ on: | |
push: | ||
branches: | ||
- "**" | ||
|
||
schedule: | ||
- cron: "0 0 * * *" # Run every day | ||
workflow_dispatch: | ||
create: | ||
delete: | ||
release: | ||
issues: | ||
|
||
jobs: | ||
isort: | ||
runs-on: ubuntu-latest | ||
|
@@ -36,6 +35,6 @@ jobs: | |
git config --global user.name "GitHub Actions" | ||
git config --global user.email "[email protected]" | ||
git remote set-url origin https://x-access-token:${{ secrets.GH_TOKEN }}@github.com/${{ github.repository }} | ||
git pull | ||
git pull origin ${{ github.ref_name }} | ||
git add . | ||
git diff --quiet || (git commit -m "Sort imports and apply isort fixes" && git push) | ||
git diff --quiet || (git commit -m "Sort imports and apply isort fixes" && git push origin ${{ github.ref_name }}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
name: SENATOROV | ||
name: "SENATOROV" | ||
|
||
permissions: | ||
contents: write # Grant write access to the repository contents | ||
|
||
on: | ||
|
||
pull_request: | ||
|
@@ -13,6 +17,8 @@ on: | |
issues: | ||
pull_request_review: | ||
pull_request_review_comment: | ||
|
||
|
||
jobs: | ||
isort: | ||
runs-on: ubuntu-latest | ||
|
@@ -37,6 +43,6 @@ jobs: | |
git config --global user.name "GitHub Actions" | ||
git config --global user.email "[email protected]" | ||
git remote set-url origin https://x-access-token:${{ secrets.GH_TOKEN }}@github.com/${{ github.repository }} | ||
git pull | ||
git pull origin ${{ github.ref_name }} | ||
git add . | ||
git diff --quiet || (git commit -m "Sort imports and apply isort fixes" && git push) | ||
git diff --quiet || (git commit -m "Sort imports and apply isort fixes" && git push origin ${{ github.ref_name }}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -238,4 +238,5 @@ target/ | |
*.env # Environment variable files | ||
coverage/ | ||
|
||
|
||
/Math/calculus/theory | ||
/Math/school_theory |
Oops, something went wrong.