This repository has been archived by the owner on Sep 17, 2024. It is now read-only.
[8.9](backport #3596) Migrate k8s autodiscovery pipeline #485
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: pre-commit | |
on: | |
push: | |
branches: | |
- 'main' | |
- '8**' | |
- '7.17' | |
pull_request: | |
# limit the access of the generated GITHUB_TOKEN | |
permissions: | |
contents: read | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version-file: .go-version | |
- uses: actions/setup-python@v3 | |
- name: Install dependencies | |
run: .ci/scripts/install-dependencies.sh | |
- uses: elastic/apm-pipeline-library/.github/actions/pre-commit@current |