From f12cce1884041158ccfbf9375b5bc2d7161e5107 Mon Sep 17 00:00:00 2001 From: pancho horrillo Date: Wed, 30 Sep 2020 08:02:29 +0200 Subject: [PATCH] chore: update bump-go workflow . Fix path to repo for 'Bump Go' action . Use and update the same PR until accepted, to reduce noise --- .github/workflows/bump-go.yml | 27 +++++++++++++++++++++++++++ .github/workflows/go-bump.yml | 29 ----------------------------- 2 files changed, 27 insertions(+), 29 deletions(-) create mode 100644 .github/workflows/bump-go.yml delete mode 100644 .github/workflows/go-bump.yml diff --git a/.github/workflows/bump-go.yml b/.github/workflows/bump-go.yml new file mode 100644 index 0000000..2cfcbc0 --- /dev/null +++ b/.github/workflows/bump-go.yml @@ -0,0 +1,27 @@ +name: Bump Go + +on: + schedule: + - cron: 00 7 * * * + push: + branches: + - master +jobs: + bump-go: + runs-on: ubuntu-20.04 + steps: + - name: Clone current repo + uses: actions/checkout@v2 + + - name: Ensure Go is up-to-date + id: bump-go + uses: BBVA/bump-go@main + with: + go-version-path: .github/versions/go + + - name: Create pull request + uses: peter-evans/create-pull-request@v3 + with: + title: Bump Go + commit-message: Bump Go to version '${{ steps.bump-go.outputs.go-version }}' + branch: bump-go/patch diff --git a/.github/workflows/go-bump.yml b/.github/workflows/go-bump.yml deleted file mode 100644 index e6ee17e..0000000 --- a/.github/workflows/go-bump.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Bump Go - -on: - schedule: - - cron: 00 7 * * * - - push: - branches: - - master - -jobs: - go-bump: - - runs-on: ubuntu-20.04 - - steps: - - name: Clone current repo - uses: actions/checkout@v2 - - - name: Bump Go - id: go-bump - uses: panchoh/go-bump@master - - - name: Create pull request - uses: peter-evans/create-pull-request@v2 - with: - title: ${{ steps.go-bump.outputs.pr-title }} - commit-message: ${{ steps.go-bump.outputs.pr-title }} - branch: ${{ steps.go-bump.outputs.branch-name }}