Bump flake.lock and related dependencies #38
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: Bump flake.lock and related dependencies | |
on: | |
pull_request: | |
paths: | |
- '.github/workflows/bump-flake-lock-and-selfup.yml' | |
schedule: | |
# At 10:17 JST on day-of-month 1 and on Monday. | |
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule | |
# You can understand the config actually say what in https://crontab.guru/ | |
- cron: '17 1 1 * 1' | |
workflow_dispatch: | |
jobs: | |
bump: | |
uses: kachick/selfup/.github/workflows/reusable-bump-flake-lock-and-selfup.yml@236e552774af3d967d888e24ce9834a5b424c2c7 # v1.1.3 | |
if: (github.event.sender.login == 'kachick') || (github.event_name != 'pull_request') | |
with: | |
app_id: ${{ vars.APP_ID }} | |
dry-run: ${{ github.event_name == 'pull_request' }} | |
optional-run: | | |
echo 'Add another changes and git commit here, especially for .node-version/.ruby-version' | |
secrets: | |
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }} |