From 8730db6b4901545c329f3f980f6029bf05ec1e7d Mon Sep 17 00:00:00 2001
From: Chl <chl@xlii.si>
Date: Sat, 31 Aug 2024 02:41:33 +0200
Subject: [PATCH 1/4] Only trigger the workflow when pushing a branch

---
 .forgejo/workflows/generate-release-zipfile.yml | 1 +
 .github/workflows/generate-release-zipfile.yml  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/.forgejo/workflows/generate-release-zipfile.yml b/.forgejo/workflows/generate-release-zipfile.yml
index cebcdf9..8aca51f 100644
--- a/.forgejo/workflows/generate-release-zipfile.yml
+++ b/.forgejo/workflows/generate-release-zipfile.yml
@@ -1,5 +1,6 @@
 on:
   push:
+    branches:
 
 jobs:
   GenerateReleaseZipfile:
diff --git a/.github/workflows/generate-release-zipfile.yml b/.github/workflows/generate-release-zipfile.yml
index 698a6c2..dea9fa2 100644
--- a/.github/workflows/generate-release-zipfile.yml
+++ b/.github/workflows/generate-release-zipfile.yml
@@ -1,5 +1,6 @@
 on:
   push:
+    branches:
 
 jobs:
   GenerateReleaseZipfile:

From e21efb3c3cd0a74d0cc6269993192fe7dfc51590 Mon Sep 17 00:00:00 2001
From: Chl <chl@xlii.si>
Date: Sat, 31 Aug 2024 02:48:52 +0200
Subject: [PATCH 2/4] readme: compatibility with Github

---
 README.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/README.md b/README.md
index 4c7ede0..f056d6f 100644
--- a/README.md
+++ b/README.md
@@ -73,6 +73,8 @@ steps:
   - name: Simple checkout
     run: |
       git init
+      # On Github, the token isn't readily available.
+      test -z "$GITHUB_TOKEN" && GITHUB_TOKEN="${{ github.token }}"
       MY_AUTHENTICATED_URL="$( echo "$GITHUB_SERVER_URL" | sed "s#^\(https\?://\)#\1$GITHUB_TOKEN\@#" )"
       git remote add origin "$MY_AUTHENTICATED_URL"/"$GITHUB_REPOSITORY"
       # Little and optional speed optimization

From 61b070edf9da68610d15a8e98ec23f3642db49da Mon Sep 17 00:00:00 2001
From: Chl <chl@xlii.si>
Date: Sat, 31 Aug 2024 02:35:31 +0200
Subject: [PATCH 3/4] Github's marketplace: Description must be less than 125
 characters

---
 action.yml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/action.yml b/action.yml
index 11c39b6..0c7f988 100644
--- a/action.yml
+++ b/action.yml
@@ -3,11 +3,10 @@ name: "Upload an artifact with wget"
 author: "Chl"
 
 description: |
-  Upload an artifact for a workflow.
+  Upload an artifact.
 
   This is a lighter version of upload-artifact, it only needs a shell, zip
-  and the full version of wget (unfortunately, as of 2024-08-26, the busybox
-  variant isn't capable of using the PUT method).
+  and the full version of wget.
 
 inputs:
   name:

From 9c77c2641a3beaa72ab74a150abe030a1a4118bf Mon Sep 17 00:00:00 2001
From: Chl <chl@xlii.si>
Date: Sat, 31 Aug 2024 02:53:39 +0200
Subject: [PATCH 4/4] Branding for Github's marketplace

---
 action.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/action.yml b/action.yml
index 0c7f988..dc5daea 100644
--- a/action.yml
+++ b/action.yml
@@ -8,6 +8,10 @@ description: |
   This is a lighter version of upload-artifact, it only needs a shell, zip
   and the full version of wget.
 
+branding:
+  icon: archive
+  color: gray-dark
+
 inputs:
   name:
     description: 'Artifact name'