diff --git a/.gitea/workflows/pull_request.yaml b/.gitea/workflows/pull_request.yaml index a4f256f..28da37d 100644 --- a/.gitea/workflows/pull_request.yaml +++ b/.gitea/workflows/pull_request.yaml @@ -116,6 +116,8 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + token: ${{ secrets.BOT_TOKEN }} + ref: ${{ gitea.head_ref }} - name: Update version uses: https://github.com/stikkyapp/update-pubspec-version@v2 @@ -123,6 +125,7 @@ jobs: strategy: 'patch' path: './pubspec.yaml' + - name: Commit version update env: GITEA_TOKEN: ${{ secrets.BOT_TOKEN }}