Skip to content

chore(deps): bump github.com/miekg/dns from 1.1.61 to 1.1.62 in the g… #87

chore(deps): bump github.com/miekg/dns from 1.1.61 to 1.1.62 in the g…

chore(deps): bump github.com/miekg/dns from 1.1.61 to 1.1.62 in the g… #87

Workflow file for this run

name: bump-version
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: release-please
id: release
uses: GoogleCloudPlatform/release-please-action@v4
with:
token: ${{ secrets.TOKEN }}
release-type: go
- name: Get created PR number
id: pr-number
if: steps.release.outputs.pr
uses: actions/github-script@v7
with:
result-encoding: string
script: |
const pr = ${{ steps.release.outputs.pr }};
return pr && pr.number
- name: Approve Release PR
if: steps.release.outputs.pr
run: gh pr review ${{ steps.pr-number.outputs.result }} --approve
env:
GH_TOKEN: ${{ github.token }}
- name: Merge Release PR
if: steps.release.outputs.pr
run: gh pr merge ${{ steps.pr-number.outputs.result }} --auto --rebase
env:
GH_TOKEN: ${{ secrets.TOKEN }}