From 1019c4df3d1220d3caff465cb81e6d0967409c08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Tue, 31 Dec 2024 16:12:32 +0000 Subject: [PATCH] Delete .github/workflows/go-maintenance.yml --- .github/workflows/go-maintenance.yml | 51 ---------------------------- 1 file changed, 51 deletions(-) delete mode 100644 .github/workflows/go-maintenance.yml diff --git a/.github/workflows/go-maintenance.yml b/.github/workflows/go-maintenance.yml deleted file mode 100644 index a76d0868f..000000000 --- a/.github/workflows/go-maintenance.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: Maintenance - -on: - workflow_dispatch: - schedule: - - cron: "0 12 * * 1" - -jobs: - go-mod-upgrades: - name: Upgrade all Go modules - runs-on: ubuntu-latest - steps: - - name: Check out code - uses: actions/checkout@v4 - - - name: Set up Go - uses: actions/setup-go@v5 - with: - go-version: 1.23.4 - cache: false - - - name: Mock web assets - run: make mock-assets - - - name: Upgrade all Go modules - run: go get -u ./... - - - name: Run go mod tidy - run: go mod tidy - - - name: Create Pull Request - id: cpr - uses: peter-evans/create-pull-request@v7.0.6 - with: - token: ${{ secrets.GH_REPO_TOKEN }} - author: "Ɓukasz Mierzwa " - commit-message: "chore(backend): upgrade all Go modules" - branch: go-mod-upgrades - delete-branch: true - title: "chore(backend): upgrade all Go modules" - - - name: Check outputs - run: | - echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}" - echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}" - - - name: Enable Pull Request Automerge - if: steps.cpr.outputs.pull-request-operation == 'created' - run: gh pr merge --merge --auto go-mod-upgrades - env: - GH_TOKEN: ${{ secrets.GH_REPO_TOKEN }}