Skip to content

feat(testda): add header support with GetHeaderByHeight method #1709

feat(testda): add header support with GetHeaderByHeight method

feat(testda): add header support with GetHeaderByHeight method #1709

name: Dependabot Go Autofix
on:
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
tidy-and-verify:
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
ref: ${{ github.head_ref }}
- uses: actions/setup-go@v6
with:
check-latest: true
- name: Install make (if missing)
run: sudo apt-get update && sudo apt-get install -y make
- name: Run dependency update
run: make deps
- name: Commit and push changes
run: |
if [ -n "$(git status --porcelain)" ]; then
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add -A
git commit -m "chore: run make deps after Dependabot update"
git push
else
echo "No changes to commit."
fi