Address validation feedback for Nix test and workflow permissions

This commit is contained in:
copilot-swe-agent[bot]
2026-07-27 12:23:06 +00:00
committed by GitHub
parent 37a15afa10
commit 004424cc2b
2 changed files with 5 additions and 2 deletions
@@ -5,6 +5,9 @@ on:
pull_request: pull_request:
branches: [ main ] branches: [ main ]
permissions:
contents: read
jobs: jobs:
validate: validate:
runs-on: ubuntu-latest runs-on: ubuntu-latest
+2 -2
View File
@@ -118,8 +118,8 @@ pkgs.testers.runNixOSTest {
machine.succeed("ss -ltn '( sport = :18080 )' | grep -F '127.0.0.1:18080'") machine.succeed("ss -ltn '( sport = :18080 )' | grep -F '127.0.0.1:18080'")
machine.succeed("ss -ltn '( sport = :8181 )' | grep -F '127.0.0.1:8181'") machine.succeed("ss -ltn '( sport = :8181 )' | grep -F '127.0.0.1:8181'")
machine.fail("ss -ltn '( sport = :18080 )' | grep -E '0\\\\.0\\\\.0\\\\.0:18080|\\[::\\]:18080'") machine.fail("ss -ltn '( sport = :18080 )' | grep -E '0\\.0\\.0\\.0:18080|\\[::\\]:18080'")
machine.fail("ss -ltn '( sport = :8181 )' | grep -E '0\\\\.0\\\\.0\\\\.0:8181|\\[::\\]:8181'") machine.fail("ss -ltn '( sport = :8181 )' | grep -E '0\\.0\\.0\\.0:8181|\\[::\\]:8181'")
machine.succeed("${pkgs.curl}/bin/curl --fail --silent http://127.0.0.1:18080/api/info | ${pkgs.gnugrep}/bin/grep -q 'setupCompleted'") machine.succeed("${pkgs.curl}/bin/curl --fail --silent http://127.0.0.1:18080/api/info | ${pkgs.gnugrep}/bin/grep -q 'setupCompleted'")