Skip to content

Bump jest from 29.5.0 to 29.6.0 in /gcp-gke-control-plane-auth-networks-updater #48

Bump jest from 29.5.0 to 29.6.0 in /gcp-gke-control-plane-auth-networks-updater

Bump jest from 29.5.0 to 29.6.0 in /gcp-gke-control-plane-auth-networks-updater #48

Workflow file for this run

---
name: pre-commit
on: # yamllint disable-line rule:truthy
pull_request:
permissions:
pull-requests: write
contents: read
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install shfmt
run: |
curl -L "$(curl -s https://api.github.com/repos/mvdan/sh/releases/latest |
grep -o -E -m 1 "https://.+?_linux_amd64")" > shfmt && \
chmod +x shfmt && sudo mv shfmt /usr/bin/
- name: pre-commit
uses: pre-commit/action@v3.0.0
- name: Failure
if: ${{ failure() }}
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
await github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: "pre-commit failed! Please ensure that pre-commit doesn't report any error."
})