Commit graph

312 commits

Author SHA1 Message Date
Jörg Thalheim 6e34215574 fix formatting of README 2024-06-25 14:45:38 +00:00
Jörg Thalheim 83849e86f8 allow secretKeyFile to be a path 2024-06-25 16:42:24 +02:00
Jörg Thalheim b7237a3fb2 improve github app installation 2024-06-25 16:29:14 +02:00
Jörg Thalheim 5cf46bdb59 examples/master: make app authentication the default option 2024-06-25 16:17:59 +02:00
github-actions[bot] 619ed4e436 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/5b75ddc9a3e93465bc939dcbacb281879b64b9ed?narHash=sha256-wqQUoA6AW3gifOfEeBQVZ3ulropw0iXwmZRT0Ef2Kls%3D' (2024-06-19)
  → 'github:Nixos/nixpkgs/9693852a2070b398ee123a329e68f0dab5526681?narHash=sha256-jHJSUH619zBQ6WdC21fFAlDxHErKVDJ5fpN0Hgx4sjs%3D' (2024-06-22)
2024-06-23 01:51:51 +00:00
github-actions[bot] 00d0992732 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/24b048f70e34020c93ed7c11491bc050ff6eb142?narHash=sha256-v4%2BaJpRDbJil691DXo5SydqowcB01B6E9%2BwFH/pNk6k%3D' (2024-06-15)
  → 'github:Nixos/nixpkgs/5b75ddc9a3e93465bc939dcbacb281879b64b9ed?narHash=sha256-wqQUoA6AW3gifOfEeBQVZ3ulropw0iXwmZRT0Ef2Kls%3D' (2024-06-19)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/e75ba0a6bb562d2ce275db28f6a36a2e4fd81391?narHash=sha256-35hUMmFesmchb%2Bu7heKHLG5B6c8fBOcSYo0jj0CHLes%3D' (2024-06-13)
  → 'github:numtide/treefmt-nix/68eb1dc333ce82d0ab0c0357363ea17c31ea1f81?narHash=sha256-ULzoKzEaBOiLRtjeY3YoGFJMwWSKRYOic6VNw2UyTls%3D' (2024-06-16)
2024-06-20 01:45:33 +00:00
github-actions[bot] c3b59dac3e flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/5ec9d1b2bcd3309616f578d9637764df8e43ba31?narHash=sha256-jhJ98u/3M6u6G3HkxKI4IepZMzj2UBnd5ogwsbWxVic%3D' (2024-06-12)
  → 'github:Nixos/nixpkgs/24b048f70e34020c93ed7c11491bc050ff6eb142?narHash=sha256-v4%2BaJpRDbJil691DXo5SydqowcB01B6E9%2BwFH/pNk6k%3D' (2024-06-15)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/1cb529bffa880746a1d0ec4e0f5076876af931f1?narHash=sha256-1TZQcdETNdJMcfwwoshVeCjwWfrPtkSQ8y8wFX3it7k%3D' (2024-06-11)
  → 'github:numtide/treefmt-nix/e75ba0a6bb562d2ce275db28f6a36a2e4fd81391?narHash=sha256-35hUMmFesmchb%2Bu7heKHLG5B6c8fBOcSYo0jj0CHLes%3D' (2024-06-13)
2024-06-16 01:53:20 +00:00
Jörg Thalheim 92379a0ed4 github app: remove experimental status 2024-06-15 13:24:16 +00:00
Jörg Thalheim 8a41a3899a attic-watch-store: drop unused inputs 2024-06-15 09:16:59 +00:00
mannp 51653df88b Added simple Attic
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-06-15 09:03:54 +00:00
zowoq 1912618053 remove github.user 2024-06-14 14:35:31 +00:00
magic_rb aaab03e1da Fix JWT token renewal condition
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-14 14:28:26 +00:00
Jörg Thalheim 383d759cce README: mark github app experimental 2024-06-13 11:01:51 +00:00
github-actions[bot] e6eaaef1f2 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/3f3a01219b4a1b6ee63039a3aa63948fbf37c0dd?narHash=sha256-kC0eyEsfpXbtQ2Ee5kgjmLFSVsLgnqpj10LjEi%2BfK%2Bg%3D' (2024-06-08)
  → 'github:Nixos/nixpkgs/5ec9d1b2bcd3309616f578d9637764df8e43ba31?narHash=sha256-jhJ98u/3M6u6G3HkxKI4IepZMzj2UBnd5ogwsbWxVic%3D' (2024-06-12)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/4fc1c45a5f50169f9f29f6a98a438fb910b834ed?narHash=sha256-npYqVg%2BWk4oxnWrnVG7416fpfrlRhp/lQ6wQ4DHI8YE%3D' (2024-06-08)
  → 'github:numtide/treefmt-nix/1cb529bffa880746a1d0ec4e0f5076876af931f1?narHash=sha256-1TZQcdETNdJMcfwwoshVeCjwWfrPtkSQ8y8wFX3it7k%3D' (2024-06-11)
2024-06-13 10:36:39 +00:00
Jörg Thalheim aeddb4809d
Merge pull request #179 from MagicRB/fix_installation_token_renewal
Fix GitHub `InstallationToken` renewal.
2024-06-13 10:54:59 +02:00
magic_rb 16d4308d29 Fix GitHub InstallationToken renewal.
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-13 10:54:09 +02:00
Jörg Thalheim c92a655055
Merge pull request #181 from MagicRB/freefmt_fix_github_app
Fix `treefmt` errors introduced in #156
2024-06-13 09:56:46 +02:00
magic_rb 300fd88394
Fix treefmt errors introduced in #156
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-12 18:59:23 +02:00
Richard Brežák 7e327b88b6
Merge pull request #156 from MagicRB/github_app
Add GitHub App support
2024-06-12 15:40:19 +00:00
magic_rb 0ac5dcb33d
Fix GitHub App backend failing if project-id-map disappears
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-12 17:36:43 +02:00
magic_rb 467b9164de
Fix app_project_id_map_name in GitHub App backend, not having a .json extension
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-12 17:36:08 +02:00
magic_rb eeb21e9ddd
Streamline Legacy <-> App GitHub auth backend migrations
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-12 17:19:11 +02:00
Jörg Thalheim f8e87d508a
Merge pull request #174 from nix-community/ngi0
link to ngi0 instance
2024-06-12 14:29:13 +02:00
Jörg Thalheim 6a9394bed5 document permissions required for github app 2024-06-12 10:24:25 +02:00
Jörg Thalheim d782734b2a link to other organisations 2024-06-12 10:03:58 +02:00
Jörg Thalheim 94b541c336 link to ngi0 instance 2024-06-12 09:48:09 +02:00
Jörg Thalheim 9f04067a6a bust cache after adding installation_id 2024-06-12 07:58:34 +02:00
dependabot[bot] 2058d5e8ca build(deps): bump DeterminateSystems/update-flake-lock from 21 to 22
Bumps [DeterminateSystems/update-flake-lock](https://github.com/determinatesystems/update-flake-lock) from 21 to 22.
- [Release notes](https://github.com/determinatesystems/update-flake-lock/releases)
- [Commits](https://github.com/determinatesystems/update-flake-lock/compare/v21...v22)

---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-10 01:40:19 +00:00
github-actions[bot] 0d88c67761 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/52694a4be3f361cd7616e6641b070caed9c617d9?narHash=sha256-OVeQRahdkopKIeit2JKm80ylfE0Me/rpXvZLp%2BhqM3M%3D' (2024-06-05)
  → 'github:Nixos/nixpkgs/3f3a01219b4a1b6ee63039a3aa63948fbf37c0dd?narHash=sha256-kC0eyEsfpXbtQ2Ee5kgjmLFSVsLgnqpj10LjEi%2BfK%2Bg%3D' (2024-06-08)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/3eb96ca1ae9edf792a8e0963cc92fddfa5a87706?narHash=sha256-u10aDdYrpiGOLoxzY/mJ9llST9yO8Q7K/UlROoNxzDw%3D' (2024-06-01)
  → 'github:numtide/treefmt-nix/4fc1c45a5f50169f9f29f6a98a438fb910b834ed?narHash=sha256-npYqVg%2BWk4oxnWrnVG7416fpfrlRhp/lQ6wQ4DHI8YE%3D' (2024-06-08)
2024-06-09 01:53:00 +00:00
Jörg Thalheim 30a49d4e88 fix typo in class name 2024-06-07 16:55:36 +02:00
Jörg Thalheim 4357604463 add assert message to get_repo_token 2024-06-07 16:50:03 +02:00
Jörg Thalheim b0526ceab2
Merge pull request #163 from MagicRB/gitea_auth_fix
Fix Gitea backend not authenticating properly with Gitea
2024-06-07 10:38:29 +02:00
Jörg Thalheim 8664657737 Update README.md 2024-06-07 08:16:40 +00:00
magic_rb 4f6d08a33d Improve Nix code and docs
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-07 08:16:40 +00:00
magic_rb 475fbf3952 Fix GitHub avatars for GitHub Apps
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-07 08:16:40 +00:00
magic_rb 5dc05ea3fe Fix GitHub installation tokens not getting updated in the cache file
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-07 08:16:40 +00:00
magic_rb d586b9155b Fix examples and checks
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-07 08:16:40 +00:00
magic_rb 067f3e0fc1 Add GitHub App support
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-07 08:16:39 +00:00
github-actions[bot] 46a33f9b2a flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/a66aecff8795337adf83e16be9dd070fab95c341?narHash=sha256-gMvWwxNTVDcYWEpdW1YXiA3oKaMU4dFkUmUAEo3RNNU%3D' (2024-06-01)
  → 'github:Nixos/nixpkgs/52694a4be3f361cd7616e6641b070caed9c617d9?narHash=sha256-OVeQRahdkopKIeit2JKm80ylfE0Me/rpXvZLp%2BhqM3M%3D' (2024-06-05)
2024-06-06 01:45:31 +00:00
magic_rb 12e9d639df
Fix Gitea backend not authenticating properly with Gitea
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-02 16:30:29 +02:00
github-actions[bot] 663e2347fc flake.lock: Update
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/8dc45382d5206bd292f9c2768b8058a8fd8311d9?narHash=sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78%3D' (2024-05-16)
  → 'github:hercules-ci/flake-parts/2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8?narHash=sha256-iKzJcpdXih14qYVcZ9QC9XuZYnPc6T8YImb6dX166kw%3D' (2024-06-01)
• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/c598bbfe379934e8f379bc474cc1914a7c34fbdc?narHash=sha256-vYbYTeWF4YMKYu6lHLQH%2BOagpubB9aZ1%2BV630h6qJr4%3D' (2024-05-29)
  → 'github:Nixos/nixpkgs/a66aecff8795337adf83e16be9dd070fab95c341?narHash=sha256-gMvWwxNTVDcYWEpdW1YXiA3oKaMU4dFkUmUAEo3RNNU%3D' (2024-06-01)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/2fba33a182602b9d49f0b2440513e5ee091d838b?narHash=sha256-wJqHMg/K6X3JGAE9YLM0LsuKrKb4XiBeVaoeMNlReZg%3D' (2024-05-17)
  → 'github:numtide/treefmt-nix/3eb96ca1ae9edf792a8e0963cc92fddfa5a87706?narHash=sha256-u10aDdYrpiGOLoxzY/mJ9llST9yO8Q7K/UlROoNxzDw%3D' (2024-06-01)
2024-06-02 01:49:43 +00:00
github-actions[bot] ad165ae64f flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/7d7cf1590c05d799745bf456f2b95b798f48d3bb?narHash=sha256-wQmXzee/veETYJv93TkRYsAQkEdt2QYCJeJil5SrJfg%3D' (2024-05-27)
  → 'github:Nixos/nixpkgs/c598bbfe379934e8f379bc474cc1914a7c34fbdc?narHash=sha256-vYbYTeWF4YMKYu6lHLQH%2BOagpubB9aZ1%2BV630h6qJr4%3D' (2024-05-29)
2024-05-30 01:45:39 +00:00
Jörg Thalheim 7358c456cd
Merge pull request #160 from Mic92/fix-forks
gitea: fix status update for pull requests
2024-05-28 13:42:57 +02:00
Jörg Thalheim 20c19aca5b gitea: fix status update for pull requests 2024-05-27 15:25:56 +02:00
github-actions[bot] af4a31c72f flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/bc5dc89513caa16788f6379962e50383cf3f70b0?narHash=sha256-X%2B99WjSwbxQ7X%2BCTyqZQZqeqGe8nbfAFz%2BtgK2r3O/g%3D' (2024-05-22)
  → 'github:Nixos/nixpkgs/6de51d98ec2ae46730f11845e221aab9d2470a8a?narHash=sha256-QO7cdjtDhx72KEw6m0NOtuE5FS4asaRExZ65uFR/q8g%3D' (2024-05-25)
2024-05-26 01:49:22 +00:00
github-actions[bot] c2e9f0a5b1 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/04496f014fcf27fdcede464d5de8558e12b5710c?narHash=sha256-ewjE7eVBVmjh8faip3RW%2BI3WzQZ3iywQVyxZfjunfH0%3D' (2024-05-18)
  → 'github:Nixos/nixpkgs/bc5dc89513caa16788f6379962e50383cf3f70b0?narHash=sha256-X%2B99WjSwbxQ7X%2BCTyqZQZqeqGe8nbfAFz%2BtgK2r3O/g%3D' (2024-05-22)
2024-05-23 01:42:46 +00:00
dependabot[bot] 051f97f9f9 Bump cachix/install-nix-action from 26 to 27
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 26 to 27.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v26...V27)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-20 01:22:39 +00:00
github-actions[bot] 1530a714e9 flake.lock: Update
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/e5d10a24b66c3ea8f150e47dfdb0416ab7c3390e' (2024-05-02)
  → 'github:hercules-ci/flake-parts/8dc45382d5206bd292f9c2768b8058a8fd8311d9' (2024-05-16)
• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/c029b7f004009923bbfc90bbc31263cd4b08759f' (2024-05-15)
  → 'github:Nixos/nixpkgs/04496f014fcf27fdcede464d5de8558e12b5710c' (2024-05-18)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/c6aaf729f34a36c445618580a9f95a48f5e4e03f' (2024-04-25)
  → 'github:numtide/treefmt-nix/2fba33a182602b9d49f0b2440513e5ee091d838b' (2024-05-17)
2024-05-19 01:47:58 +00:00
github-actions[bot] 85ae072719 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/0efaf283bd6e3b9ecf6e961d2305bf2e1a9f49c9' (2024-05-08)
  → 'github:Nixos/nixpkgs/c029b7f004009923bbfc90bbc31263cd4b08759f' (2024-05-15)
2024-05-16 22:49:06 +00:00
Jörg Thalheim 92a70872a8
Merge pull request #154 from Erethon/fix-example-typos
examples: Fix typos in Cachix example
2024-05-17 00:46:28 +02:00