11.stylix/.github/workflows/update-flake.yml
dependabot[bot] be86a9aadb ci: bump actions/create-github-app-token from 1 to 2
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 1 to 2.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Commits](https://github.com/actions/create-github-app-token/compare/v1...v2)

---
updated-dependencies:
- dependency-name: actions/create-github-app-token
  dependency-version: '2'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-07 17:49:09 -07:00

42 lines
1.2 KiB
YAML

---
name: Update flake inputs
on: # yamllint disable-line rule:truthy
schedule:
- cron: "0 0 1 * *"
workflow_dispatch:
jobs:
flake-update:
runs-on: ubuntu-latest
if: github.repository_owner == 'danth'
strategy:
matrix:
branch: [master, release-24.11]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ matrix.branch }}
- uses: DeterminateSystems/nix-installer-action@v16
- id: generate-token
uses: actions/create-github-app-token@v2
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- uses: DeterminateSystems/update-flake-lock@v24
with:
token: ${{ steps.generate-token.outputs.token }}
branch: update_flake_lock_action_${{ matrix.branch }}
commit-msg: "stylix: update all flake inputs"
pr-title: "stylix: update all flake inputs"
pr-labels: dependencies
# yamllint disable rule:line-length
pr-body: |
Automated changes by the [update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) GitHub Action.
```
{{ env.GIT_COMMIT_MESSAGE }}
```
# yamllint enable rule:line-length