update dev deps #18
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 dev deps | |
"on": | |
schedule: | |
# First day of every third month at noon | |
- cron: "0 12 1 */3 *" | |
workflow_dispatch: | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- name: check out code | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- name: install Nix | |
uses: DeterminateSystems/nix-installer-action@7993355175c2765e5733dae74f3e0786fe0e5c4f | |
# - name: set up upterm session | |
# uses: lhotari/action-upterm@v1 | |
- name: update development dependencies | |
run: nix develop --command bash -c './update_dev_dependencies' | |
- name: create PR | |
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c | |
with: | |
token: ${{ secrets.DEV_DEPS_UPDATE_TOKEN }} | |
title: Update development dependencies | |
labels: automated,dependencies | |
commit-message: Upgrade dev dependencies. | |
permissions: | |
contents: read | |
pull-requests: write |