From e9ffcbb1ad500f719b82dde4d573853076bc2fd4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 17 May 2026 14:05:55 +0000 Subject: [PATCH 1/3] Initial plan From 852626d9b2f151be7b25e92ff44fb07b4bc8dff0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 17 May 2026 14:07:29 +0000 Subject: [PATCH 2/3] fix: avoid shellcheck false positives for os-release vars Agent-Logs-Url: https://github.com/openSUSE/opensuse-migration-tool/sessions/2160a6d9-25ce-4eef-9a68-cc0c48521453 Co-authored-by: lkocman <510119+lkocman@users.noreply.github.com> --- opensuse-migration-tool | 3 +++ 1 file changed, 3 insertions(+) diff --git a/opensuse-migration-tool b/opensuse-migration-tool index d8570e9..9cbd542 100755 --- a/opensuse-migration-tool +++ b/opensuse-migration-tool @@ -86,7 +86,10 @@ if [[ ! -f /etc/os-release ]]; then exit 2 fi # Source OS release info +# shellcheck disable=SC1091 source /etc/os-release +NAME=${NAME:-} +VERSION=${VERSION:-} ARCH=$(uname -i) # x86_64 XXX: check for other arches # Fetch distribution data from API From 1350cf2e359a76008d3c929435964397bc110fb1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 17 May 2026 14:13:39 +0000 Subject: [PATCH 3/3] ci: set minimal token permissions for shellcheck workflow Agent-Logs-Url: https://github.com/openSUSE/opensuse-migration-tool/sessions/41d3b5de-f126-4143-8e99-9673ba2737b1 Co-authored-by: lkocman <510119+lkocman@users.noreply.github.com> --- .github/workflows/shellcheck.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml index 1a729c2..0df5bbe 100644 --- a/.github/workflows/shellcheck.yml +++ b/.github/workflows/shellcheck.yml @@ -3,6 +3,9 @@ name: ShellCheck on: pull_request: +permissions: + contents: read + jobs: shellcheck: runs-on: ubuntu-latest