Skip to content

ci: check for dependencies on a schedule #2

ci: check for dependencies on a schedule

ci: check for dependencies on a schedule #2

name: Check dependencies
on:
schedule:
- cron: "0 9 * * 1"
pull_request:
permissions:
contents: read
issues: write
jobs:
check-dependencies:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install -r ci/check_dependencies/requirements.txt
- run: |
cat <<EOF >issue.md
---
title: Update Chart dependencies
labels: dependencies
---
EOF
make check-dependencies >>issue.md
cat issue.md
- uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
filename: ./issue.md
update_existing: true
search_existing: all