Update ILL #33
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: "Update DependencyControl feed" | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
depctrl-feed: | |
name: "Update DependencyControl Feed" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.event.repository.default_branch }} | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: "Update DependencyControl Feed" | |
run: python .github/workflows/updateFeed.py | |
env: | |
AUTOMATION_CHANGELOG: ${{ github.event.head_commit.message }} | |
- name: "Commit Changes" | |
run: | | |
git config user.name "DepCtrl Updater" | |
git config user.email [email protected] | |
git add DependencyControl.json | |
git diff --quiet && git diff --staged --quiet || (git commit -m "Update depctrl feed"; git push) |