From a07c11fa7ff82234efc4688a0cf2b0f11075e096 Mon Sep 17 00:00:00 2001
From: Shane <6071159+smashedr@users.noreply.github.com>
Date: Fri, 3 Oct 2025 16:21:42 -0700
Subject: [PATCH] Don't Fail on No Release
---
.github/workflows/labeler.yaml | 9 ++++----
.github/workflows/lint.yaml | 10 ++++++++-
README.md | 38 ++++++++++++++++++++++++++++++++--
dist/index.js | 9 ++++++--
src/index.js | 9 ++++++--
5 files changed, 64 insertions(+), 11 deletions(-)
diff --git a/.github/workflows/labeler.yaml b/.github/workflows/labeler.yaml
index e2212d8..eb36453 100644
--- a/.github/workflows/labeler.yaml
+++ b/.github/workflows/labeler.yaml
@@ -3,15 +3,16 @@ name: "PR Labeler"
on:
pull_request_target:
-permissions:
- pull-requests: write
-
jobs:
labeler:
name: "Labeler"
runs-on: ubuntu-latest
timeout-minutes: 5
+ permissions:
+ pull-requests: write
+ issues: write
+
steps:
- name: "Checkout Configs"
uses: actions/checkout@v5
@@ -36,7 +37,7 @@ jobs:
- name: "Label Creator"
continue-on-error: true
- uses: cssnr/label-creator-action@master
+ uses: cssnr/label-creator-action@v1
with:
file: .configs/labels/labels.yaml
diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml
index e87af07..2b702f5 100644
--- a/.github/workflows/lint.yaml
+++ b/.github/workflows/lint.yaml
@@ -10,6 +10,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
+permissions:
+ pull-requests: write
+
jobs:
lint:
name: "Lint"
@@ -67,9 +70,14 @@ jobs:
echo "::endgroup::"
"${RUNNER_TEMP}/actionlint" -color -verbose -shellcheck= -pyflakes=
+ - name: "Verify action.yml"
+ if: ${{ !cancelled() }}
+ run: |
+ yq -e '.runs.main | test("^dist/")' action.yml
+
- name: "Check Build Action"
if: ${{ !cancelled() }}
- uses: cssnr/check-build-action@master
+ uses: cssnr/check-build-action@v1
- name: "ESLint Annotate"
if: ${{ !cancelled() && steps.eslint.outcome != 'success' }}
diff --git a/README.md b/README.md
index aec3f04..35f6cdd 100644
--- a/README.md
+++ b/README.md
@@ -179,19 +179,53 @@ If you would like to submit a PR, please review the [CONTRIBUTING.md](#contribut
Additionally, you can support other GitHub Actions I have published:
- [Stack Deploy Action](https://github.com/cssnr/stack-deploy-action?tab=readme-ov-file#readme)
-- [Portainer Stack Deploy](https://github.com/cssnr/portainer-stack-deploy-action?tab=readme-ov-file#readme)
+- [Portainer Stack Deploy Action](https://github.com/cssnr/portainer-stack-deploy-action?tab=readme-ov-file#readme)
+- [Docker Context Action](https://github.com/cssnr/docker-context-action?tab=readme-ov-file#readme)
- [VirusTotal Action](https://github.com/cssnr/virustotal-action?tab=readme-ov-file#readme)
- [Mirror Repository Action](https://github.com/cssnr/mirror-repository-action?tab=readme-ov-file#readme)
- [Update Version Tags Action](https://github.com/cssnr/update-version-tags-action?tab=readme-ov-file#readme)
+- [Docker Tags Action](https://github.com/cssnr/docker-tags-action?tab=readme-ov-file#readme)
- [Update JSON Value Action](https://github.com/cssnr/update-json-value-action?tab=readme-ov-file#readme)
+- [JSON Key Value Check Action](https://github.com/cssnr/json-key-value-check-action?tab=readme-ov-file#readme)
- [Parse Issue Form Action](https://github.com/cssnr/parse-issue-form-action?tab=readme-ov-file#readme)
- [Cloudflare Purge Cache Action](https://github.com/cssnr/cloudflare-purge-cache-action?tab=readme-ov-file#readme)
- [Mozilla Addon Update Action](https://github.com/cssnr/mozilla-addon-update-action?tab=readme-ov-file#readme)
-- [Docker Tags Action](https://github.com/cssnr/docker-tags-action?tab=readme-ov-file#readme)
- [Package Changelog Action](https://github.com/cssnr/package-changelog-action?tab=readme-ov-file#readme)
- [NPM Outdated Check Action](https://github.com/cssnr/npm-outdated-action?tab=readme-ov-file#readme)
- [Label Creator Action](https://github.com/cssnr/label-creator-action?tab=readme-ov-file#readme)
- [Algolia Crawler Action](https://github.com/cssnr/algolia-crawler-action?tab=readme-ov-file#readme)
- [Upload Release Action](https://github.com/cssnr/upload-release-action?tab=readme-ov-file#readme)
+- [Check Build Action](https://github.com/cssnr/check-build-action?tab=readme-ov-file#readme)
+- [Web Request Action](https://github.com/cssnr/web-request-action?tab=readme-ov-file#readme)
+- [Get Commit Action](https://github.com/cssnr/get-commit-action?tab=readme-ov-file#readme)
+
+❔ Unpublished Actions
+
+These actions are not published on the Marketplace, but may be useful.
+
+- [cssnr/draft-release-action](https://github.com/cssnr/draft-release-action?tab=readme-ov-file#readme) - Keep a draft release ready to publish.
+- [cssnr/env-json-action](https://github.com/cssnr/env-json-action?tab=readme-ov-file#readme) - Convert env file to json or vice versa.
+- [cssnr/push-artifacts-action](https://github.com/cssnr/push-artifacts-action?tab=readme-ov-file#readme) - Sync files to a remote host with rsync.
+- [smashedr/update-release-notes-action](https://github.com/smashedr/update-release-notes-action?tab=readme-ov-file#readme) - Update release notes.
+- [smashedr/combine-release-notes-action](https://github.com/smashedr/combine-release-notes-action?tab=readme-ov-file#readme) - Combine release notes.
+
+---
+
+
+
+📝 Template Actions
+
+These are basic action templates that I use for creating new actions.
+
+- [js-test-action](https://github.com/smashedr/js-test-action?tab=readme-ov-file#readme) - JavaScript
+- [py-test-action](https://github.com/smashedr/py-test-action?tab=readme-ov-file#readme) - Python
+- [ts-test-action](https://github.com/smashedr/ts-test-action?tab=readme-ov-file#readme) - TypeScript
+- [docker-test-action](https://github.com/smashedr/docker-test-action?tab=readme-ov-file#readme) - Docker Image
+
+Note: The `docker-test-action` builds, runs and pushes images to [GitHub Container Registry](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry).
+
+---
+
+
For a full list of current projects visit: [https://cssnr.github.io/](https://cssnr.github.io/)
diff --git a/dist/index.js b/dist/index.js
index 20f919a..53e9021 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -34567,6 +34567,10 @@ const script_id = ''
core.startGroup('Response')
console.log(response)
core.endGroup() // Response
+ if (!response) {
+ console.log('Set Neutral is not yet implemented so exiting with success.')
+ return core.info(`⚠️ \u001b[32;1mNo Releases to Process`)
+ }
// Outputs
core.info('📩 Setting Outputs')
@@ -34595,7 +34599,7 @@ const script_id = ''
/**
* Process Release
* @param {Inputs} inputs
- * @return {Promise