mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 08:01:49 +00:00
##### 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
26 lines
502 B
YAML
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
|