Skip to content

Commit

Permalink
Add the new neophile workflow
Browse files Browse the repository at this point in the history
This will keep the pre-commit hooks up-to-date. Dependabot will continue
to monitor the Python pins.
  • Loading branch information
jonathansick committed Jul 18, 2023
1 parent d60638d commit 8e3705c
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/dependencies.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Dependency Update

"on":
schedule:
- cron: "0 12 * * 1"
workflow_dispatch: {}

jobs:
update:
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- uses: actions/checkout@v3

- name: Run neophile
uses: lsst-sqre/run-neophile@v1
with:
python-version: "3.11"
mode: pr
types: pre-commit
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 }}
1 change: 1 addition & 0 deletions changelog.d/20230717_125707_jsick_DM_39646.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
### Other changes

- Adopt PyPI's trusted publishers mechanism for releases.
- Adopt the new [Neophile](https://github.com/lsst-sqre/neophile) workflow for keeping pre-commit hooks up-to-date.

0 comments on commit 8e3705c

Please sign in to comment.