Skip to content

ci: grant workflows permission to update-flake-inputs #3

ci: grant workflows permission to update-flake-inputs

ci: grant workflows permission to update-flake-inputs #3

name: Update Flake Inputs

Check failure on line 1 in .github/workflows/update-flake-inputs.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/update-flake-inputs.yml

Invalid workflow file

(Line: 12, Col: 7): Unexpected value 'workflows'
on:
schedule:
- cron: "0 2 * * 1" # Every Monday at 02:00 UTC
workflow_dispatch:
jobs:
update-flake-inputs:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
workflows: write
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Setup Nix
uses: NixOS/nix-installer-action@main
- name: Update flake inputs
uses: mic92/update-flake-inputs@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-merge: true