Skip to content

Commit 5bce82f

Browse files
committed
Update Workfloes
1 parent 2ee6cf9 commit 5bce82f

8 files changed

Lines changed: 102 additions & 7 deletions

File tree

.github/workflows/labeler.yaml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: "PR Labeler"
2+
3+
on:
4+
pull_request_target:
5+
6+
permissions:
7+
pull-requests: write
8+
9+
jobs:
10+
labeler:
11+
name: "Labeler"
12+
runs-on: ubuntu-latest
13+
timeout-minutes: 5
14+
15+
steps:
16+
- name: "Checkout Configs"
17+
uses: actions/checkout@v5
18+
with:
19+
repository: cssnr/configs
20+
ref: master
21+
path: .configs
22+
sparse-checkout-cone-mode: false
23+
sparse-checkout: |
24+
labels/**
25+
26+
- name: "Debug"
27+
continue-on-error: true
28+
run: |
29+
echo "::group::labels.yaml"
30+
cat .configs/labels/labels.yaml
31+
echo "::endgroup::"
32+
33+
echo "::group::labeler.yaml"
34+
cat .configs/labels/labeler.yaml
35+
echo "::endgroup::"
36+
37+
- name: "Label Creator"
38+
continue-on-error: true
39+
uses: cssnr/label-creator-action@master
40+
with:
41+
file: .configs/labels/labels.yaml
42+
43+
- name: "Labeler"
44+
uses: actions/labeler@v6
45+
with:
46+
sync-labels: true
47+
configuration-path: .configs/labels/labeler.yaml

.github/workflows/lint.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ concurrency:
1010
group: ${{ github.workflow }}-${{ github.ref }}
1111
cancel-in-progress: true
1212

13+
permissions:
14+
pull-requests: write
15+
1316
jobs:
1417
lint:
1518
name: "Lint"
@@ -18,7 +21,7 @@ jobs:
1821

1922
steps:
2023
- name: "Checkout"
21-
uses: actions/checkout@v4
24+
uses: actions/checkout@v5
2225

2326
#- name: "Debug event.json"
2427
# run: |

.github/workflows/mirror.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
steps:
2020
- name: "Checkout"
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v5
2222
with:
2323
fetch-depth: 0
2424

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
echo "steps.tags.outputs.tags: ${{ steps.tags.outputs.tags }}"
2525
2626
- name: "Update Release Notes Action"
27-
uses: smashedr/update-release-notes-action@master
2827
continue-on-error: true
28+
uses: smashedr/update-release-notes-action@master
2929
with:
30-
tags: "${{ steps.tags.outputs.tags }}"
30+
tags: ${{ steps.tags.outputs.tags }}
3131
location: tail
3232

3333
- name: "Send Failure Notification"

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
steps:
3333
- name: "Checkout"
34-
uses: actions/checkout@v4
34+
uses: actions/checkout@v5
3535

3636
#- name: "Debug event.json"
3737
# run: |

.prettierignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,10 @@
77
.mypy_cache/
88
.pytest_cache/
99

10+
# Build
11+
dist/
12+
node_modules/
13+
.github/disabled/
14+
1015
# Files
1116
.github/pull_request_template.md

.prettierrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"trailingComma": "es5",
33
"semi": false,
44
"singleQuote": true,
5+
"printWidth": 90,
56
"overrides": [
67
{
78
"files": ["**/*.html", "**/*.yaml", "**/*.yml"],
@@ -10,7 +11,7 @@
1011
}
1112
},
1213
{
13-
"files": ["**/*.js", "**/*.css", "**/*.scss"],
14+
"files": ["**/*.js", "**/*.mjs", "**/*.css", "**/*.scss"],
1415
"options": {
1516
"tabWidth": 4
1617
}

README.md

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[![Codeberg Last Commit](https://img.shields.io/gitea/last-commit/cssnr/stack-deploy-action/master?gitea_url=https%3A%2F%2Fcodeberg.org%2F&logo=codeberg&logoColor=white&label=updated)](https://codeberg.org/cssnr/stack-deploy-action)
99
[![Docs Last Commit](https://img.shields.io/github/last-commit/cssnr/stack-deploy-docs?logo=vitepress&logoColor=white&label=docs)](https://docker-deploy.cssnr.com/)
1010
[![GitHub Contributors](https://img.shields.io/github/contributors/cssnr/stack-deploy-action?logo=github)](https://github.com/cssnr/stack-deploy-action/graphs/contributors)
11-
[![GitHub Repo Size](https://img.shields.io/github/repo-size/cssnr/stack-deploy-action?logo=bookstack&logoColor=white&label=size)](https://github.com/cssnr/stack-deploy-action)
11+
[![GitHub Repo Size](https://img.shields.io/github/repo-size/cssnr/stack-deploy-action?logo=bookstack&logoColor=white&label=repo%20size)](https://github.com/cssnr/stack-deploy-action?tab=readme-ov-file#readme)
1212
[![GitHub Top Language](https://img.shields.io/github/languages/top/cssnr/stack-deploy-action?logo=sharp&logoColor=white)](https://github.com/cssnr/stack-deploy-action)
1313
[![GitHub Discussions](https://img.shields.io/github/discussions/cssnr/stack-deploy-action?logo=github)](https://github.com/cssnr/stack-deploy-action/discussions)
1414
[![GitHub Forks](https://img.shields.io/github/forks/cssnr/stack-deploy-action?style=flat&logo=github)](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
534534

535535
# Contributing
536536

537+
Contributions of all kinds are welcome, including updating this [README.md](https://github.com/cssnr/stack-deploy-action/blob/master/README.md).
537538
If you would like to submit a PR, please review the [CONTRIBUTING.md](#contributing-ov-file).
538539

539540
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:
557558
- [Docker Tags Action](https://github.com/cssnr/docker-tags-action?tab=readme-ov-file#readme)
558559
- [Package Changelog Action](https://github.com/cssnr/package-changelog-action?tab=readme-ov-file#readme)
559560
- [NPM Outdated Check Action](https://github.com/cssnr/npm-outdated-action?tab=readme-ov-file#readme)
561+
- [Label Creator Action](https://github.com/cssnr/label-creator-action?tab=readme-ov-file#readme)
560562
- [Algolia Crawler Action](https://github.com/cssnr/algolia-crawler-action?tab=readme-ov-file#readme)
563+
- [Upload Release Action](https://github.com/cssnr/upload-release-action?tab=readme-ov-file#readme)
564+
- [Check Build Action](https://github.com/cssnr/check-build-action?tab=readme-ov-file#readme)
565+
- [Web Request Action](https://github.com/cssnr/web-request-action?tab=readme-ov-file#readme)
566+
567+
<details><summary>Unpublished Actions ❔</summary>
568+
569+
These actions' are not published on the Marketplace, but may be useful.
570+
571+
Generic Actions:
572+
573+
- [cssnr/draft-release-action](https://github.com/cssnr/draft-release-action) - Keep a draft release ready to publish.
574+
- [cssnr/env-json-action](https://github.com/cssnr/env-json-action) - Convert env file to json or vice versa.
575+
- [cssnr/get-commit-action](https://github.com/cssnr/get-commit-action) - Get the current commit with full details.
576+
577+
Specific Actions:
578+
579+
- [cssnr/push-artifacts-action](https://github.com/cssnr/push-artifacts-action) - Sync's artifacts to a remote host.
580+
- [smashedr/update-release-notes-action](https://github.com/smashedr/update-release-notes-action) - Update release notes.
581+
582+
---
583+
584+
</details>
585+
586+
<details><summary>Action Templates 📝</summary>
587+
588+
These are basic actions' templates that I use for creating new actions.
589+
590+
- [js-test-action](https://github.com/smashedr/js-test-action?tab=readme-ov-file#readme) - JavaScript
591+
- [py-test-action](https://github.com/smashedr/py-test-action?tab=readme-ov-file#readme) - Python
592+
- [ts-test-action](https://github.com/smashedr/ts-test-action?tab=readme-ov-file#readme) - TypeScript
593+
- [docker-test-action](https://github.com/smashedr/docker-test-action?tab=readme-ov-file#readme) - Docker Image
594+
595+
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).
596+
597+
---
598+
599+
</details>
561600

562601
For a full list of current projects visit: [https://cssnr.github.io/](https://cssnr.github.io/)

0 commit comments

Comments
 (0)