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
4 changes: 4 additions & 0 deletions .github/workflows/test-osbuild-composer-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,14 @@ jobs:
path: osbuild-composer
repository: osbuild/osbuild-composer
ref: main
set-safe-directory: true

- name: Check out osbuild/images for the PR
uses: actions/checkout@v6
with:
path: images
ref: ${{ github.event.pull_request.head.sha }}
set-safe-directory: true

- name: Mark the working directory as safe for git
run: git config --global --add safe.directory "$(pwd)"
Expand Down Expand Up @@ -191,12 +193,14 @@ jobs:
path: image-builder-cli
repository: osbuild/image-builder-cli
ref: main
set-safe-directory: true

- name: Check out osbuild/images for the PR
uses: actions/checkout@v6
with:
path: images
ref: ${{ github.event.pull_request.head.sha }}
set-safe-directory: true

- name: Mark the working directory as safe for git
run: git config --global --add safe.directory "$(pwd)"
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
set-safe-directory: true

- name: Install python3
# The Fedora 41 container doesn't have python3 installed by default
Expand Down Expand Up @@ -82,6 +83,7 @@ jobs:
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
set-safe-directory: true

- name: Apt update
run: sudo apt update
Expand Down Expand Up @@ -132,6 +134,7 @@ jobs:
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
set-safe-directory: true

- name: Set up repository for pinned osbuild commit
run: ./test/scripts/setup-osbuild-repo
Expand Down Expand Up @@ -166,6 +169,7 @@ jobs:
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
set-safe-directory: true

- name: Apt update
run: sudo apt update
Expand Down Expand Up @@ -198,6 +202,7 @@ jobs:
- uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
set-safe-directory: true
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38
with:
Expand Down Expand Up @@ -225,6 +230,7 @@ jobs:
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
set-safe-directory: true

- name: Testing imgtestlib and test scripts
run: |
Expand All @@ -249,6 +255,7 @@ jobs:
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
set-safe-directory: true

- name: Analysing the code with pylint
run: |
Expand All @@ -264,6 +271,7 @@ jobs:
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
set-safe-directory: true

- name: Install checkers
run: |
Expand Down Expand Up @@ -312,6 +320,8 @@ jobs:
ls /proc/sys/fs/binfmt_misc/
- name: Check out code into the Go module directory
uses: actions/checkout@v6
with:
set-safe-directory: true
- name: Cross arch integration test
run: |
pip install .
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-bootc-image-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
with:
path: images
ref: main
set-safe-directory: true

- name: Update Schutzfile
working-directory: ./images
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-osbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
with:
path: images
ref: main
set-safe-directory: true

- name: Update Schutzfile
working-directory: ./images
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/validate-checksums.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
# we need the history of the branch and main
fetch-depth: 0
set-safe-directory: true

- name: apt update
run: sudo apt update
Expand Down
Loading