diff --git a/.forgejo/workflows/update-flake-inputs.yaml b/.forgejo/workflows/update-flake-inputs.yaml new file mode 100644 index 0000000..845200c --- /dev/null +++ b/.forgejo/workflows/update-flake-inputs.yaml @@ -0,0 +1,29 @@ +name: Update Flake Inputs + +on: + push: + branches: + - main + schedule: + # Run weekly on Sunday at 4:00 AM UTC + - cron: "0 */5 * * *" + workflow_dispatch: + +jobs: + update-flake-inputs: + runs-on: docker + steps: + - uses: https://data.forgejo.org/actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Update flake inputs + uses: https://github.com/Mic92/update-flake-inputs-gitea@main + with: + git-author-name: "frues-bot" + git-committer-name: "frues-bot" + git-author-email: "frues-bot@git.peprolinbot.com" + git-committer-email: "frues-bot@git.peprolinbot.com" + gitea-url: ${{ forgejo.server_url }} + gitea-token: ${{ secrets.FORGEJO_TOKEN }} + gitea-repository: ${{ forgejo.repository }}