diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 290e023..586982a 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -22,13 +22,15 @@ jobs: go-version-file: go.mod - run: go install golang.org/x/tools/cmd/goimports@latest - uses: arduino/setup-task@v2 - - run: wget -O openapi.json https://api.aiven.io/doc/openapi.json - run: task generate env: AIVEN_TOKEN: ${{ secrets.AIVEN_TOKEN }} AIVEN_PROJECT_NAME: ${{ secrets.AIVEN_PROJECT_NAME }} - id: date run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT + - uses: peter-evans/close-pull-request@v2 + with: + branch: update/ - uses: peter-evans/create-pull-request@v7 with: author: GitHub