Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: ShellCheck
on:
pull_request:

permissions:
contents: read

jobs:
shellcheck:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions opensuse-migration-tool
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,11 @@ if [[ ! -f /etc/os-release ]]; then
exit 2
fi
# Source OS release info
# shellcheck disable=SC1091
# shellcheck source=/etc/os-release
source /etc/os-release
NAME=${NAME:-}
VERSION=${VERSION:-}
ARCH=$(uname -i) # x86_64 XXX: check for other arches

# Fetch distribution data from API
Expand Down