Skip to content

Update Dependency Graph #1389

Update Dependency Graph

Update Dependency Graph #1389

name: Update Dependency Graph
on:
workflow_dispatch:
schedule:
- cron: '30 18 * * *' # 00:00 in LK time (GMT+5:30)
push:
branches:
- master
paths:
- 'dependabot/resources/module_list.json'
jobs:
dependency:
name: Derive module dependencies
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install Python packages
run: |
pip install requests
pip install networkx
pip install retry
pip install PyGithub
pip install semver
pip install cryptography
- name: Get Dependencies and update files
run: |
python dependabot/update_dependency_graph.py
env:
BALLERINA_BOT_USERNAME: ${{ secrets.BALLERINA_BOT_USERNAME }}
BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}
BALLERINA_BOT_EMAIL: ${{ secrets.BALLERINA_BOT_EMAIL }}
BALLERINA_REVIEWER_BOT_TOKEN: ${{ secrets.BALLERINA_REVIEWER_BOT_TOKEN }}
ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}