1
0
Fork 0
mirror of https://github.com/ansible-collections/hetzner.hcloud.git synced 2026-02-04 08:01:49 +00:00
hetzner.hcloud/.github/workflows/vendor.yml
Jonas L 9eab32cf3d
chore: pre-commit improvements (#348)
##### SUMMARY

- Speed up pre-commit by moving some tasks out of pre-commit
- Move network related hooks out of pre-commit (allow enabling
pre-commit.ci)
- Some optimization
- Use pre-commit.ci
2023-10-06 16:02:46 +02:00

26 lines
502 B
YAML

name: Vendor
on:
push:
branches: [main, stable-1]
paths:
- plugins/module_utils/vendor/**
- scripts/vendor.py
pull_request:
paths:
- plugins/module_utils/vendor/**
- scripts/vendor.py
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Ensure vendors are not diverging
run: make vendor-check