From d8dc86ead13f85ef18faaaf974db9389ee059b14 Mon Sep 17 00:00:00 2001 From: ebner Date: Wed, 30 Sep 2026 15:19:12 +0200 Subject: [PATCH] Update .gitea/workflows/proofread.yaml cleanup workflow --- .gitea/workflows/proofread.yaml | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/.gitea/workflows/proofread.yaml b/.gitea/workflows/proofread.yaml index b8490d1d..5202860a 100644 --- a/.gitea/workflows/proofread.yaml +++ b/.gitea/workflows/proofread.yaml @@ -14,13 +14,6 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v5 - with: - token: ${{ secrets.GITHUB_TOKEN }} - - - name: Create branch - run: | - git fetch origin main - git checkout -B typos origin/main - name: Fix Markdown typos continue-on-error: true @@ -29,9 +22,12 @@ jobs: files: "**/*.md" write_changes: true - - name: Commit and push fixes + - name: Commit to branch and push fixes id: changes run: | + git fetch origin main + git checkout -B typos origin/main + git config user.name "typos-bot" git config user.email "typos-bot@localhost" @@ -40,17 +36,8 @@ jobs: git push origin typos --force - name: Create pull request - id: pr uses: actions/pullrequest@main with: - token: ${{ secrets.GITHUB_TOKEN }} - repository: ${{ github.repository }} title: "Fix markdown typos" body: "Automated typo fixes from crate-ci/typos." head: typos - base: main - - - name: Show pull request - run: | - echo "PR #${{ steps.pr.outputs.number }}" - echo "${{ steps.pr.outputs.html_url }}" \ No newline at end of file