forked from gardenlinux/gardenlinux
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (37 loc) · 978 Bytes
/
check-packages.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Check Packages
on:
schedule:
- cron: '0 6 * * *'
workflow_dispatch:
pull_request:
branches:
- rel-*
permissions:
contents: read
jobs:
check-pkgs:
runs-on: ubuntu-latest
permissions:
security-events: write
actions: read
contents: read
steps:
- name: Repository checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # [email protected]
with:
fetch-depth: 0
- name: Install dependencies
run: |
python -m venv venv
source venv/bin/activate
pip install requests pyyaml
- name: Check for missing packages in repo
run: |
./bin/check-pkgs-availability.py -d $(bin/garden-version)
- name: Generate report
id: generate_report
run: |
source venv/bin/activate
./bin/check-pkgs-pipelines.py
env:
GITLAB_PRIVATE_TOKEN: ${{ secrets.GITLAB_PRIVATE_TOKEN }}