Skip to content

chore(deps): update peter-evans/create-pull-request action to v7 #2781

chore(deps): update peter-evans/create-pull-request action to v7

chore(deps): update peter-evans/create-pull-request action to v7 #2781

---
name: prom-rules
on:
workflow_dispatch:
push:
branches: [master]
pull_request:
branches: [master]
env:
golang-version: 1.22.4
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: '${{ env.golang-version }}'
- run: go install github.com/brancz/gojsontoyaml@latest
- run: PATH="${PATH}:${GITHUB_WORKSPACE}" ./hack/unpack-prometheus-rules.sh
- name: Run pint
uses: prymitive/pint-action@v1
with:
token: ${{ github.token }}
# directory containing Prometheus rules
workdir: 'tmp/rules'