Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Update kachick/anylang-template digest to 25d1d70 #27

Update kachick/anylang-template digest to 25d1d70

Update kachick/anylang-template digest to 25d1d70 #27

name: Update nixpkgs and CI dependencies
on:
pull_request:
paths:
- '.github/workflows/update-nixpkgs-and-versions-in-ci.yml'
schedule:
# Every Monday 10:17 JST
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
- cron: '17 1 * * 1'
workflow_dispatch:
jobs:
update-nixpkgs:
uses: kachick/anylang-template/.github/workflows/reusable-update-nixpkgs-and-versions-in-ci.yml@25d1d70b0bd984d8eba69fcd62b29c7098ea6a34
if: (github.event.sender.login == 'kachick') || (github.event_name != 'pull_request')
with:
dry-run: ${{ github.event_name == 'pull_request' }}
optional-run: |
nix develop --command node --version | tr -d v > .node-version
# https://stackoverflow.com/q/34807971
git update-index -q --really-refresh
git diff-index --quiet HEAD || git commit -m 'Update .node-version' .node-version
secrets:
APP_ID: ${{ secrets.APP_ID }}
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}