diff --git a/actions/example-config-options/.forgejo/workflows/test.yml b/actions/example-config-options/.forgejo/workflows/test.yml index 83b6b0a..d9c0324 100644 --- a/actions/example-config-options/.forgejo/workflows/test.yml +++ b/actions/example-config-options/.forgejo/workflows/test.yml @@ -3,6 +3,8 @@ on: [push] jobs: test: runs-on: docker + container: + options: "--hostname customname" steps: - run: | test -f /srv/example-config-options-volume-valid @@ -10,3 +12,5 @@ jobs: ! test -f /srv/example-config-options-volume-invalid - run: | test "$FROB" = "NITZ" + - run: | + test "$(cat /etc/hostname)" = customname diff --git a/actions/example-config-options/runner-config.yaml b/actions/example-config-options/runner-config.yaml index 13b9b72..dff5356 100644 --- a/actions/example-config-options/runner-config.yaml +++ b/actions/example-config-options/runner-config.yaml @@ -1,6 +1,7 @@ log: level: debug + job_level: debug runner: file: .runner