rename github workflows to gitea

This commit is contained in:
Danilo Reyes
2025-11-09 10:28:42 -06:00
parent 5cf2369dd0
commit 35008216bd
3 changed files with 12 additions and 6 deletions

View File

@@ -27,7 +27,7 @@ jobs:
in
builtins.concatStringsSep " " utils.availableSchemes
')
echo "schemes=$SCHEMES" >> $GITHUB_OUTPUT
echo "schemes=$SCHEMES" >> $GITEA_OUTPUT
echo "Available schemes: $SCHEMES"
- name: Configure Attic cache

View File

@@ -12,7 +12,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITEA_TOKEN }}
- name: Configure Git for automated commits
run: |
@@ -27,10 +27,10 @@ jobs:
id: check_changes
run: |
if git diff --quiet flake.lock; then
echo "changes=false" >> $GITHUB_OUTPUT
echo "changes=false" >> $GITEA_OUTPUT
echo "No changes in flake.lock"
else
echo "changes=true" >> $GITHUB_OUTPUT
echo "changes=true" >> $GITEA_OUTPUT
echo "Changes detected in flake.lock"
fi

View File

@@ -19,8 +19,14 @@ in
];
};
nix.settings = {
allowed-users = [ "gitea" "gitea-runner" ];
trusted-users = [ "gitea" "gitea-runner" ];
allowed-users = [
"gitea"
"gitea-runner"
];
trusted-users = [
"gitea"
"gitea-runner"
];
};
services.gitea-actions-runner.instances.nixos = {
inherit (cfg) url enable;