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

πŸ€–πŸ†™β„οΈ #25

πŸ€–πŸ†™β„οΈ

πŸ€–πŸ†™β„οΈ #25

name: Update flake.lock and CI dependencies
on:
pull_request:
paths:
- '.github/workflows/update-flake-lock-and-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/selfup/.github/workflows/reusable-bump-flake-lock-and-selfup.yml@action-v1
if: (github.event.sender.login == 'kachick') || (github.event_name != 'pull_request')
with:
dry-run: ${{ github.event_name == 'pull_request' }}
optional-run: |
nix develop --command ruby -e 'puts RUBY_VERSION' > .ruby-version
# https://stackoverflow.com/q/34807971
git update-index -q --really-refresh
git diff-index --quiet HEAD || git commit -m 'Update .ruby-version' .ruby-version
secrets:
APP_ID: ${{ secrets.APP_ID }}
APP_PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}