From 5bce82f4662c6cb0d105847c5a19a93df3bd5130 Mon Sep 17 00:00:00 2001
From: Shane <6071159+smashedr@users.noreply.github.com>
Date: Thu, 25 Sep 2025 21:53:53 -0700
Subject: [PATCH] Update Workfloes
---
.github/workflows/labeler.yaml | 47 ++++++++++++++++++++++++++++++++++
.github/workflows/lint.yaml | 5 +++-
.github/workflows/mirror.yaml | 2 +-
.github/workflows/release.yaml | 4 +--
.github/workflows/test.yaml | 2 +-
.prettierignore | 5 ++++
.prettierrc.json | 3 ++-
README.md | 41 ++++++++++++++++++++++++++++-
8 files changed, 102 insertions(+), 7 deletions(-)
create mode 100644 .github/workflows/labeler.yaml
diff --git a/.github/workflows/labeler.yaml b/.github/workflows/labeler.yaml
new file mode 100644
index 0000000..e2212d8
--- /dev/null
+++ b/.github/workflows/labeler.yaml
@@ -0,0 +1,47 @@
+name: "PR Labeler"
+
+on:
+ pull_request_target:
+
+permissions:
+ pull-requests: write
+
+jobs:
+ labeler:
+ name: "Labeler"
+ runs-on: ubuntu-latest
+ timeout-minutes: 5
+
+ steps:
+ - name: "Checkout Configs"
+ uses: actions/checkout@v5
+ with:
+ repository: cssnr/configs
+ ref: master
+ path: .configs
+ sparse-checkout-cone-mode: false
+ sparse-checkout: |
+ labels/**
+
+ - name: "Debug"
+ continue-on-error: true
+ run: |
+ echo "::group::labels.yaml"
+ cat .configs/labels/labels.yaml
+ echo "::endgroup::"
+
+ echo "::group::labeler.yaml"
+ cat .configs/labels/labeler.yaml
+ echo "::endgroup::"
+
+ - name: "Label Creator"
+ continue-on-error: true
+ uses: cssnr/label-creator-action@master
+ with:
+ file: .configs/labels/labels.yaml
+
+ - name: "Labeler"
+ uses: actions/labeler@v6
+ with:
+ sync-labels: true
+ configuration-path: .configs/labels/labeler.yaml
diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml
index 8272614..3f8b40f 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"
@@ -18,7 +21,7 @@ jobs:
steps:
- name: "Checkout"
- uses: actions/checkout@v4
+ uses: actions/checkout@v5
#- name: "Debug event.json"
# run: |
diff --git a/.github/workflows/mirror.yaml b/.github/workflows/mirror.yaml
index 2866886..00bdae6 100644
--- a/.github/workflows/mirror.yaml
+++ b/.github/workflows/mirror.yaml
@@ -18,7 +18,7 @@ jobs:
steps:
- name: "Checkout"
- uses: actions/checkout@v4
+ uses: actions/checkout@v5
with:
fetch-depth: 0
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index e87d888..ffe6311 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -24,10 +24,10 @@ jobs:
echo "steps.tags.outputs.tags: ${{ steps.tags.outputs.tags }}"
- name: "Update Release Notes Action"
- uses: smashedr/update-release-notes-action@master
continue-on-error: true
+ uses: smashedr/update-release-notes-action@master
with:
- tags: "${{ steps.tags.outputs.tags }}"
+ tags: ${{ steps.tags.outputs.tags }}
location: tail
- name: "Send Failure Notification"
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index 0cf3b90..6a139b4 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -31,7 +31,7 @@ jobs:
steps:
- name: "Checkout"
- uses: actions/checkout@v4
+ uses: actions/checkout@v5
#- name: "Debug event.json"
# run: |
diff --git a/.prettierignore b/.prettierignore
index b055689..0b83b5c 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -7,5 +7,10 @@
.mypy_cache/
.pytest_cache/
+# Build
+dist/
+node_modules/
+.github/disabled/
+
# Files
.github/pull_request_template.md
diff --git a/.prettierrc.json b/.prettierrc.json
index 34dae84..4541eb0 100644
--- a/.prettierrc.json
+++ b/.prettierrc.json
@@ -2,6 +2,7 @@
"trailingComma": "es5",
"semi": false,
"singleQuote": true,
+ "printWidth": 90,
"overrides": [
{
"files": ["**/*.html", "**/*.yaml", "**/*.yml"],
@@ -10,7 +11,7 @@
}
},
{
- "files": ["**/*.js", "**/*.css", "**/*.scss"],
+ "files": ["**/*.js", "**/*.mjs", "**/*.css", "**/*.scss"],
"options": {
"tabWidth": 4
}
diff --git a/README.md b/README.md
index 44ce174..b083345 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@
[](https://codeberg.org/cssnr/stack-deploy-action)
[](https://docker-deploy.cssnr.com/)
[](https://github.com/cssnr/stack-deploy-action/graphs/contributors)
-[](https://github.com/cssnr/stack-deploy-action)
+[](https://github.com/cssnr/stack-deploy-action?tab=readme-ov-file#readme)
[](https://github.com/cssnr/stack-deploy-action)
[](https://github.com/cssnr/stack-deploy-action/discussions)
[](https://github.com/cssnr/stack-deploy-action/forks)
@@ -534,6 +534,7 @@ For more information, see the CSSNR [SUPPORT.md](https://github.com/cssnr/.githu
# Contributing
+Contributions of all kinds are welcome, including updating this [README.md](https://github.com/cssnr/stack-deploy-action/blob/master/README.md).
If you would like to submit a PR, please review the [CONTRIBUTING.md](#contributing-ov-file).
To contribute to the [documentation site](https://docker-deploy.cssnr.com/) go to [cssnr/stack-deploy-docs](https://github.com/cssnr/stack-deploy-docs).
@@ -557,6 +558,44 @@ Additionally, you can support other GitHub Actions I have published:
- [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)
+
+Unpublished Actions ❔
+
+These actions' are not published on the Marketplace, but may be useful.
+
+Generic Actions:
+
+- [cssnr/draft-release-action](https://github.com/cssnr/draft-release-action) - Keep a draft release ready to publish.
+- [cssnr/env-json-action](https://github.com/cssnr/env-json-action) - Convert env file to json or vice versa.
+- [cssnr/get-commit-action](https://github.com/cssnr/get-commit-action) - Get the current commit with full details.
+
+Specific Actions:
+
+- [cssnr/push-artifacts-action](https://github.com/cssnr/push-artifacts-action) - Sync's artifacts to a remote host.
+- [smashedr/update-release-notes-action](https://github.com/smashedr/update-release-notes-action) - Update release notes.
+
+---
+
+
+
+Action Templates 📝
+
+These are basic actions' 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-action` template runs from, builds for, 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/)