Skip to content

build(deps): bump k8s.io/apimachinery from 0.29.3 to 0.29.4 in /go-chaos #890

build(deps): bump k8s.io/apimachinery from 0.29.3 to 0.29.4 in /go-chaos

build(deps): bump k8s.io/apimachinery from 0.29.3 to 0.29.4 in /go-chaos #890

Workflow file for this run

name: Go CI
on:
push:
branches: [ main ]
pull_request:
paths:
- go-chaos/**
env:
GO_VERSION: 1.19
jobs:
go-ci:
name: Run Go CI
runs-on: ubuntu-latest
defaults:
run:
working-directory: go-chaos
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: "${{ env.GO_VERSION }}"
- name: Go Format check
run: |
make fmt
diff=$(git status --porcelain)
if [ -n "$diff" ]
then
echo "Some files are not following the go format ($diff), run gofmt and fix your files."
exit 1
fi
- name: Install License Tool
run: make installLicense
- name: Check License
run: make checkLicense
- name: Run Go Tests
run: make test
auto-merge:
name: Auto-merge dependabot PRs
runs-on: ubuntu-latest
needs: [ go-ci ]
if: github.repository == 'zeebe-io/zeebe-chaos' && github.actor == 'dependabot[bot]'
permissions:
checks: read
pull-requests: write
steps:
- uses: actions/checkout@v3
- id: metadata
name: Fetch dependency metadata
uses: dependabot/fetch-metadata@v1.3.6
with:
github-token: "${{ secrets.AUTO_MERGE_GITHUB_TOKEN }}"
- id: merge
name: Merge PR
run: gh pr merge ${{ github.event.pull_request.number }} --merge
env:
GITHUB_TOKEN: "${{ secrets.AUTO_MERGE_GITHUB_TOKEN }}"