diff --git a/.gitea/workflows/Quality.yaml b/.gitea/workflows/Quality.yaml index 3b80c24..b275198 100644 --- a/.gitea/workflows/Quality.yaml +++ b/.gitea/workflows/Quality.yaml @@ -23,8 +23,6 @@ jobs: runs-on: ubuntu-latest steps: - - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." - - name: Check out the code uses: actions/checkout@v4 with: @@ -71,7 +69,21 @@ jobs: with: message: | Release ${{ github.sha }} - + + - name: Comment on Gitea PR + env: + GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} + GITEA_URL: https://gitea.borealian.ovh + REPO_OWNER: mcmuzzle + REPO_NAME: LittleTown + PR_NUMBER: ${{ github.event.pull_request.number }} + run: | + curl -X POST \ + -H "Authorization: token ${GITEA_TOKEN}" \ + -H "Content-Type: application/json" \ + -d '{"body": "Merci pour votre contribution !"}' \ + ${GITEA_URL}/api/v1/repos/${REPO_OWNER}/${REPO_NAME}/issues/${PR_NUMBER}/comments + - name: Upload Test Result Files uses: actions/upload-artifact@v3 with: