{"id":24613017,"url":"https://github.com/loophp/flake-lock-update-workflow","last_synced_at":"2025-08-22T05:38:23.341Z","repository":{"id":38688026,"uuid":"433378428","full_name":"loophp/flake-lock-update-workflow","owner":"loophp","description":"Provide a 'ready-to-use' Github workflow to update 'flake.lock' file automatically.","archived":false,"fork":false,"pushed_at":"2024-07-05T06:11:21.000Z","size":193,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-04T11:51:09.295Z","etag":null,"topics":["flake","nix","workflow"],"latest_commit_sha":null,"homepage":null,"language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/loophp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"drupol"}},"created_at":"2021-11-30T10:00:03.000Z","updated_at":"2024-11-09T21:31:57.000Z","dependencies_parsed_at":"2023-10-02T05:56:18.346Z","dependency_job_id":"290f7daa-9562-4b17-91aa-d370c6e23132","html_url":"https://github.com/loophp/flake-lock-update-workflow","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/loophp/flake-lock-update-workflow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loophp%2Fflake-lock-update-workflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loophp%2Fflake-lock-update-workflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loophp%2Fflake-lock-update-workflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loophp%2Fflake-lock-update-workflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loophp","download_url":"https://codeload.github.com/loophp/flake-lock-update-workflow/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loophp%2Fflake-lock-update-workflow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271592429,"owners_count":24786589,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flake","nix","workflow"],"created_at":"2025-01-24T20:39:30.643Z","updated_at":"2025-08-22T05:38:23.323Z","avatar_url":"https://github.com/loophp.png","language":"Nix","readme":"[![GitHub stars][github stars]][1]\n [![Donate!][donate github]][5]\n\n# Flake Lock Update Workflow\n\n## Description\n\nThis repository provides Github Workflows ready to use to make sure that the `flake.lock`\nfile in your repository stay up-to-date.\n\n* Either by creating a pull-request\n* Either by silently updating the repository `flake.lock` file.\n\nRead more information about this feature [on Github][50].\n\n## Usage\n\nYou can choose to use the latest release or the latest commit from the `main` branch.\n\nI would personally suggest to use the latest branch version: `main`\n\nCreate an action file in `.github/workflows/` with:\n\n```yaml\nname: 'Update flake lock file'\n\non:\n  # Uncomment this to enable manuel triggering\n  # workflow_dispatch:\n  schedule:\n    - cron: '0 0 * * 1' # Every Monday at midnight, see https://crontab.guru/ for more examples\n\njobs:\n  createPullRequest:\n    uses: loophp/flake-lock-update-workflow/.github/workflows/upgrade-flakes.yaml@main\n```\n\nIf you want to switch to the release, replace `main` with the\n[latest release available in Github][51] as such:\n\n```yaml\nname: 'Update flake lock file'\n\non:\n  # Uncomment this to enable manuel triggering\n  # workflow_dispatch:\n  schedule:\n    - cron: '0 0 * * 1' # Every Monday at midnight, see https://crontab.guru/ for more examples\n\njobs:\n  createPullRequest:\n    uses: loophp/flake-lock-update-workflow/.github/workflows/upgrade-flakes.yaml@1.0.2\n```\n\nTo have your `flake.lock` file updated silently, use:\n\n```yaml\nname: 'Update flake lock file'\n\non:\n  # Uncomment this to enable manuel triggering\n  # workflow_dispatch:\n  schedule:\n    - cron: '0 0 * * 1' # Every Monday at midnight, see https://crontab.guru/ for more examples\n\njobs:\n  createPullRequest:\n    uses: loophp/flake-lock-update-workflow/.github/workflows/auto-upgrade-flakes.yaml@main\n```\n\n## Contributing\n\nFeel free to contribute by sending Github pull requests. I'm quite responsive :-)\n\nIf you can't contribute to the code, you can also sponsor me on [Github][5].\n\n## Changelog\n\nSee [CHANGELOG.md][43] for a changelog based on [git commits][44].\n\nFor more detailed changelogs, please check [the release changelogs][45].\n\n[1]: https://packagist.org/packages/loophp/flake-lock-update-workflow\n[latest stable version]: https://img.shields.io/packagist/v/loophp/flake-lock-update-workflow.svg?style=flat-square\n[github stars]: https://img.shields.io/github/stars/loophp/flake-lock-update-workflow.svg?style=flat-square\n[total downloads]: https://img.shields.io/packagist/dt/loophp/flake-lock-update-workflow.svg?style=flat-square\n[github workflow status]: https://img.shields.io/github/workflow/status/loophp/flake-lock-update-workflow/Unit%20tests?style=flat-square\n[code quality]: https://img.shields.io/scrutinizer/quality/g/loophp/flake-lock-update-workflow/master.svg?style=flat-square\n[3]: https://scrutinizer-ci.com/g/loophp/flake-lock-update-workflow/?branch=master\n[type coverage]: https://img.shields.io/badge/dynamic/json?style=flat-square\u0026color=color\u0026label=Type%20coverage\u0026query=message\u0026url=https%3A%2F%2Fshepherd.dev%2Fgithub%2Floophp%2Fcollection%2Fcoverage\n[4]: https://shepherd.dev/github/loophp/flake-lock-update-workflow\n[code coverage]: https://img.shields.io/scrutinizer/coverage/g/loophp/flake-lock-update-workflow/master.svg?style=flat-square\n[license]: https://img.shields.io/packagist/l/loophp/flake-lock-update-workflow.svg?style=flat-square\n[donate github]: https://img.shields.io/badge/Sponsor-Github-brightgreen.svg?style=flat-square\n[donate paypal]: https://img.shields.io/badge/Sponsor-Paypal-brightgreen.svg?style=flat-square\n[34]: https://github.com/loophp/flake-lock-update-workflow/issues\n[2]: https://github.com/loophp/flake-lock-update-workflow/actions\n[5]: https://github.com/sponsors/drupol\n[43]: https://github.com/loophp/flake-lock-update-workflow/blob/master/CHANGELOG.md\n[44]: https://github.com/loophp/flake-lock-update-workflow/commits/master\n[45]: https://github.com/loophp/flake-lock-update-workflow/releases\n[46]: https://nixos.org/guides/nix-pills/developing-with-nix-shell.html\n[47]: https://github.com/jtojnar\n[48]: https://github.com/fossar/nix-phps\n[50]: https://docs.github.com/en/actions/learn-github-actions/reusing-workflows\n[51]: https://github.com/loophp/flake-lock-update-workflow/releases\n","funding_links":["https://github.com/sponsors/drupol"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floophp%2Fflake-lock-update-workflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floophp%2Fflake-lock-update-workflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floophp%2Fflake-lock-update-workflow/lists"}