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
14 changes: 13 additions & 1 deletion .github/workflows/sync-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,22 @@ jobs:
name: sync-common
path: .

- name: Determine exclusions
id: exclusions
run: |
case "${{ matrix.full_name }}" in
bootc-dev/bink|bootc-dev/bootc-operator)
echo "args=--exclude .devcontainer/" >> "$GITHUB_OUTPUT"
;;
*)
echo "args=" >> "$GITHUB_OUTPUT"
;;
esac

- name: Sync common files to repository
run: |
chmod +x sync-common
./sync-common infra repo "${{ github.sha }}"
./sync-common infra repo "${{ github.sha }}" ${{ steps.exclusions.outputs.args }}

- name: Open pull request
uses: peter-evans/create-pull-request@v8
Expand Down
162 changes: 162 additions & 0 deletions scripts/sync-common/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions scripts/sync-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ edition = "2021"

[dependencies]
anyhow = "1.0"
clap = { version = "4", features = ["derive"] }
xshell = "0.2"

[dev-dependencies]
Expand Down
Loading