Skip to content

Bump github.com/onsi/gomega from 1.33.1 to 1.34.1 #98

Bump github.com/onsi/gomega from 1.33.1 to 1.34.1

Bump github.com/onsi/gomega from 1.33.1 to 1.34.1 #98

Workflow file for this run

name: Go
on:
pull_request:
branches: ["main"]
push:
branches: ["main"]
workflow_dispatch: {}
permissions:
contents: write
pull-requests: write
jobs:
unit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
- run: make test
diego-compat:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v4
with:
repository: cloudfoundry/diego-release
ref: develop
submodules: recursive
- uses: actions/setup-go@v5
with:
go-version: stable
- run: |
cd src/code.cloudfoundry.org && go get -u code.cloudfoundry.org/cnbapplifecycle@${{ github.event.pull_request.head.sha }}
automerge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'
needs: [diego-compat, unit]
steps:
- name: Dependabot metadata
id: dependabot-metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Approve and merge
run: |
gh pr review --approve "$PR_URL"
gh pr merge --rebase --delete-branch "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}