Merge pull request 'develop' (#6) from develop into main
Reviewed-on: #6
This commit is contained in:
commit
176afbae54
24
.github/workflows/pyruff.yml
vendored
24
.github/workflows/pyruff.yml
vendored
@ -32,33 +32,11 @@ jobs:
|
|||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
pip install -r requirements-dev.txt
|
pip install -r requirements-dev.txt
|
||||||
|
|
||||||
|
|
||||||
# - name: Run Ruff Lint
|
|
||||||
# id: runRuffLint
|
|
||||||
# run: |
|
|
||||||
|
|
||||||
|
|
||||||
- name: pull_request message with Ruff Lint results
|
- name: pull_request message with Ruff Lint results
|
||||||
id: prMessageRuffLint
|
id: prMessageRuffLint
|
||||||
run: |
|
run: |
|
||||||
curl -X POST \
|
curl -X POST \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
-H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \
|
||||||
-d "{\"body\": \"## :mag: Ruff Lint Results\n\`\`\`\ntest\n\`\`\`\"}" \
|
-d "{\"body\": \"## :mag: Ruff Lint Results\n\`\`\`\ntest\n\`\`\`\"}" \
|
||||||
${{ gitea.server_url }}/api/v1/repos/${{ gitea.repository }}/issues/${{ github.event.pull_request.number }}/comments
|
${{ gitea.server_url }}/api/v1/repos/${{ gitea.repository }}/issues/${{ github.event.pull_request.number }}/comments
|
||||||
env:
|
|
||||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# github
|
|
||||||
# - name: pull_request message with Ruff Lint results
|
|
||||||
# id: prMessageRuffLint
|
|
||||||
# uses: marocchino/sticky-pull-request-comment@v2
|
|
||||||
# with:
|
|
||||||
# header: "## :mag: Ruff Lint Results"
|
|
||||||
# message: |
|
|
||||||
# ```
|
|
||||||
# test
|
|
||||||
# ```
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user