Skip to content

Commit 8e3705c

Browse files
committed
Add the new neophile workflow
This will keep the pre-commit hooks up-to-date. Dependabot will continue to monitor the Python pins.
1 parent d60638d commit 8e3705c

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

.github/workflows/dependencies.yaml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Dependency Update
2+
3+
"on":
4+
schedule:
5+
- cron: "0 12 * * 1"
6+
workflow_dispatch: {}
7+
8+
jobs:
9+
update:
10+
runs-on: ubuntu-latest
11+
timeout-minutes: 10
12+
13+
steps:
14+
- uses: actions/checkout@v3
15+
16+
- name: Run neophile
17+
uses: lsst-sqre/run-neophile@v1
18+
with:
19+
python-version: "3.11"
20+
mode: pr
21+
types: pre-commit
22+
app-id: ${{ secrets.NEOPHILE_APP_ID }}
23+
app-secret: ${{ secrets.NEOPHILE_PRIVATE_KEY }}
24+
25+
- name: Report status
26+
if: always()
27+
uses: ravsamhq/notify-slack-action@v2
28+
with:
29+
status: ${{ job.status }}
30+
notify_when: "failure"
31+
notification_title: "Periodic dependency update for {repo} failed"
32+
env:
33+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_ALERT_WEBHOOK }}

changelog.d/20230717_125707_jsick_DM_39646.md

+1
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@
1313
### Other changes
1414

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

0 commit comments

Comments
 (0)