This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
Check Packages #57
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: 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@v3 | |
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 }} |