Explorar o código

chore: update actions to auto trigger check in PR

Steve Johnson %!s(int64=2) %!d(string=hai) anos
pai
achega
9a895feb6c
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      .github/workflows/update-dependencies.yaml

+ 7 - 0
.github/workflows/update-dependencies.yaml

@@ -49,10 +49,17 @@ jobs:
           cd ${{ github.workspace }}/core/src/main/golang/native/
           go mod tidy
 
+      - uses: tibdex/github-app-token@v1
+        id: generate-token
+        with:
+          app_id: ${{ secrets.MAINTAINER_APPID }}
+          private_key: ${{ secrets.MAINTAINER_APP_PRIVATE_KEY }}
+
       - name: Create Pull Request
         id: cpr
         uses: peter-evans/create-pull-request@v5
         with:
+          token: ${{ steps.generate-token.outputs.token }}
           commit-message: Update Dependencies
           branch: update-dependencies
           delete-branch: true