diff --git a/.github/workflows/pyruff.yml b/.github/workflows/pyruff.yml index ae3bf89..9d93455 100644 --- a/.github/workflows/pyruff.yml +++ b/.github/workflows/pyruff.yml @@ -32,33 +32,11 @@ jobs: pip install -r requirements.txt pip install -r requirements-dev.txt - - # - name: Run Ruff Lint - # id: runRuffLint - # run: | - - - name: pull_request message with Ruff Lint results id: prMessageRuffLint run: | curl -X POST \ -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\`\`\`\"}" \ ${{ 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 - # ``` -