diff --git a/.github/actionlint.yml b/.github/actionlint.yml new file mode 100644 index 0000000..709e0b8 --- /dev/null +++ b/.github/actionlint.yml @@ -0,0 +1,4 @@ +# actionlint 1.7.12 does not know this GitHub-hosted runner label yet. +self-hosted-runner: + labels: + - ubuntu-26.04 diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 12ab6fc..3bdf115 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -56,7 +56,7 @@ jobs: while IFS= read -r changed_file; do case "${changed_file}" in - .github/workflows/*) + .github/actionlint.yml|.github/workflows/*) github_actions_changed=true ;; esac diff --git a/README.md b/README.md index 76fd8e2..c749f11 100644 --- a/README.md +++ b/README.md @@ -186,7 +186,7 @@ To receive structured wide events programmatically, pass an event sink: ```python events = src.InMemoryEventSink() -src.Get(config, event_sink=events) # or src.CallbackEventSink(my_function) +src.Get(config, event_sink=events) # or src.CallbackEventSink(my_function) ``` To run fully disk-free (no generated YAML, snapshots, or log file), set