Dependency Update #5
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: Dependency Update | |
"on": | |
schedule: | |
- cron: "0 12 * * 1" | |
workflow_dispatch: {} | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
# Omit pre-commit updates for now until neophile looks only at releases | |
# so that it doesn't pick up an old helm-docs release. | |
- name: Run neophile | |
uses: lsst-sqre/run-neophile@v1 | |
with: | |
python-version: "3.12" | |
mode: pr | |
types: python | |
app-id: ${{ secrets.NEOPHILE_APP_ID }} | |
app-secret: ${{ secrets.NEOPHILE_PRIVATE_KEY }} | |
- name: Report status | |
if: always() | |
uses: ravsamhq/notify-slack-action@v2 | |
with: | |
status: ${{ job.status }} | |
notify_when: "failure" | |
notification_title: "Periodic dependency update for {repo} failed" | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_ALERT_WEBHOOK }} |