Skip to content

ci: change aws role (#111) #186

ci: change aws role (#111)

ci: change aws role (#111) #186

Workflow file for this run

name: pre-commit
on:
pull_request:
types: [opened, reopened, synchronize, labeled]
push:
branches:
- main
jobs:
pre-commit:
name: Start pre-commit
if: ${{ github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'ok-to-test') }}
runs-on:
- self-hosted
- small
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.PRIVATE_SSH_KEY }}
- name: run pre-commit
run: make ci.docker.run GOOS=linux GOARCH=amd64 RUN_WHAT="env SKIP=no-commit-to-branch make pre-commit"