Commit graph

349 commits

Author SHA1 Message Date
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
Jörg Thalheim 045e66665d fix up formatting 2024-05-17 00:43:09 +02:00
Dionysis Grigoropoulos 67ba1db0ff
examples: Fix typos in Cachix example 2024-05-17 00:14:19 +03:00
Jörg Thalheim 077a60a5d0 README: add matrix channel 2024-05-11 10:29:09 +02:00
zowoq b35d937c0c master: on-failure -> always 2024-05-10 06:24:18 +00:00
Dionysis Grigoropoulos 21804ebc84 master: Add config to force https for the endpoint 2024-05-09 18:28:56 +00:00
github-actions[bot] 4de786e7da flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/9a22fecda3caa5fb5ae716fab63c5b8f0b7e1060' (2024-05-04)
  → 'github:Nixos/nixpkgs/0efaf283bd6e3b9ecf6e961d2305bf2e1a9f49c9' (2024-05-08)
2024-05-09 01:42:53 +00:00
Jörg Thalheim 2f389003e6 webhookBaseUrl: avoid redundant string interpolation 2024-05-08 20:00:55 +00:00
Andreas Fuchs 760aec7e07 Make the webhook endpoint URL configurable
In some CI setups, the URL to access the CI server differs from the
URL that the (external) webhook endpoint listens on. This change
introduces an option webhookBaseUrl that allows setting that URL
independently from the buildbot installation URL.
2024-05-08 20:00:55 +00:00
github-actions[bot] e9a3849417 flake.lock: Update
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/4d34ce6412bc450b1d4208c953dc97c7fc764f1a' (2024-05-01)
  → 'github:hercules-ci/flake-parts/e5d10a24b66c3ea8f150e47dfdb0416ab7c3390e' (2024-05-02)
• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/23cc2b1f071baee1853de7d93df6167bdfe57aa6' (2024-05-01)
  → 'github:Nixos/nixpkgs/9a22fecda3caa5fb5ae716fab63c5b8f0b7e1060' (2024-05-04)
2024-05-05 01:45:20 +00:00
Jörg Thalheim 8b1db0531a gitea: mention webhook 2024-05-04 21:57:28 +00:00
Jörg Thalheim 38c40bf54e README: also link to clan infra 2024-05-04 21:57:28 +00:00
Jörg Thalheim f544d7c715 README: expand gitea documentation 2024-05-04 21:57:28 +00:00
Jörg Thalheim 22885edd30
Merge pull request #141 from Mic92/faster-github
Gitea: don't drop pull request events
2024-05-03 20:41:55 +02:00