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
7 changes: 7 additions & 0 deletions .aiignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# An .aiignore file follows the same syntax as a .gitignore file.
# .gitignore documentation: https://git-scm.com/docs/gitignore

.idea
build/*
/do_not_share_client_credentials/*

35 changes: 35 additions & 0 deletions .github/workflows/manual-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Manual Clonezilla Update

on:
workflow_dispatch:
inputs:
url:
description: 'The URL of the Clonezilla ISO to update to'
required: true

jobs:
update_and_pr:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Parse Version from URL
id: parse_version
run: |
VERSION=$(basename "${{ github.event.inputs.url }}" | sed -e 's/clonezilla-live-//' -e 's/-amd64.iso//')
echo "VERSION=${VERSION}" >> $GITHUB_OUTPUT

- name: Update ci-cd.yml
run: |
sed -i 's| URL:.*| URL: ${{ github.event.inputs.url }}|' .github/workflows/ci-cd.yml

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "Update Clonezilla to ${{ steps.parse_version.outputs.VERSION }}"
title: "Update to Clonezilla ${{ steps.parse_version.outputs.VERSION }}"
body: "This PR updates the Clonezilla version to `${{ steps.parse_version.outputs.VERSION }}`."
branch: "feat/clonezilla-${{ steps.parse_version.outputs.VERSION }}"
base: main