Skip to content

Commit 0375d6a

Browse files
trueberryless-org[bot]github-actions[bot]autofix-ci[bot]
authored
ci: sync template files [skip ci] (#9)
* ci: update GitHub template files * [autofix.ci] apply automated fixes --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent 88f3ef5 commit 0375d6a

File tree

12 files changed

+1573
-458
lines changed

12 files changed

+1573
-458
lines changed

.github/CODEOWNERS

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/deployment.yaml

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ env:
1313
REGISTRY: docker.io
1414
IMAGE_OWNER: trueberryless
1515
IMAGE_NAME: truzzles
16-
NODE_VERSION: 20
16+
NODE_VERSION: 24.10.0
1717

1818
jobs:
1919
changesets:
@@ -33,13 +33,15 @@ jobs:
3333
private_key: ${{ secrets.BOT_PRIVATE_KEY }}
3434

3535
- name: Checkout Repo
36-
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
36+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
37+
with:
38+
persist-credentials: false
3739

3840
- name: Setup PNPM
39-
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
41+
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
4042

4143
- name: Setup Node
42-
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
44+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
4345
with:
4446
node-version: ${{ env.NODE_VERSION }}
4547
cache: "pnpm"
@@ -56,7 +58,6 @@ jobs:
5658
title: "ci: release [skip netlify]"
5759
env:
5860
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token}}
59-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
6061

6162
- name: Get published version
6263
if: steps.changesets.outputs.hasChangesets == 'true'
@@ -74,7 +75,9 @@ jobs:
7475
IMAGE_TAG: ${{ env.IMAGE_TAG }}
7576
steps:
7677
- name: Check out the repo
77-
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
78+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
79+
with:
80+
persist-credentials: false
7881

7982
- name: Read version from package.json
8083
id: get_version
@@ -86,34 +89,35 @@ jobs:
8689
needs: [changesets, image-tag]
8790
if: >
8891
(
89-
needs.changesets.outputs.hasChangesets == 'false' &&
92+
needs.changesets.outputs.hasChangesets == 'false' &&
9093
(
91-
contains(github.event.head_commit.message, 'deploy') ||
94+
contains(github.event.head_commit.message, 'deploy') ||
9295
contains(github.event.head_commit.message, 'release')
9396
)
94-
) ||
97+
) ||
9598
github.event_name == 'workflow_dispatch'
9699
runs-on: ubuntu-latest
97100
permissions:
98101
contents: write
99102
steps:
100103
- name: Check out the repo
101-
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
104+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
102105
with:
103106
fetch-depth: 0
107+
persist-credentials: false
104108

105109
- name: Set up Docker Buildx
106110
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
107111

108112
- name: Log in to Docker Hub
109-
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
113+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
110114
with:
111115
username: ${{ secrets.DOCKER_USERNAME }}
112116
password: ${{ secrets.DOCKER_PASSWORD }}
113117

114118
- name: Extract metadata (tags, labels) for Docker
115119
id: meta
116-
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
120+
uses: docker/metadata-action@318604b99e75e41977312d83839a89be02ca4893 # v5.9.0
117121
with:
118122
images: ${{ env.REGISTRY }}/${{ env.IMAGE_OWNER }}/${{ env.IMAGE_NAME }}
119123

@@ -131,7 +135,7 @@ jobs:
131135
run: |
132136
yq eval '.spec.template.spec.containers[0].image = "${{ env.IMAGE_OWNER }}/${{ env.IMAGE_NAME }}:${{ needs.image-tag.outputs.IMAGE_TAG }}"' -i manifest/deployment.yaml
133137
134-
- uses: stefanzweifel/git-auto-commit-action@b863ae1933cb653a53c021fe36dbb774e1fb9403 # v5.2.0
138+
- uses: stefanzweifel/git-auto-commit-action@28e16e81777b558cc906c8750092100bbb34c5e3 # v7.0.0
135139
with:
136140
commit_message: update deployment.json container image (automated)
137141

@@ -143,7 +147,9 @@ jobs:
143147
contents: write
144148
steps:
145149
- name: Check out the repo
146-
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
150+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
151+
with:
152+
persist-credentials: false
147153

148154
- id: extract-changelog
149155
uses: sean0x42/markdown-extract@7b185cbe85263116bbf741e739e7198ba86465dc # v2.1.0

.github/workflows/format.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,24 @@ on:
66
permissions:
77
contents: read
88

9+
env:
10+
NODE_VERSION: 24.10.0
11+
912
jobs:
1013
autofix:
1114
runs-on: ubuntu-latest
1215
steps:
13-
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
16+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
17+
with:
18+
persist-credentials: false
1419

1520
- name: Setup PNPM
16-
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
21+
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
1722

1823
- name: Setup Node
19-
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
24+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
2025
with:
21-
node-version: 20.19.5
26+
node-version: ${{ env.NODE_VERSION }}
2227
cache: "pnpm"
2328

2429
- name: Install Dependencies

.github/workflows/labeler.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ jobs:
1616
app_id: ${{ secrets.BOT_APP_ID }}
1717
private_key: ${{ secrets.BOT_PRIVATE_KEY }}
1818

19-
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
19+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
20+
with:
21+
persist-credentials: false
2022
- name: Ensure labels exist
2123
env:
2224
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
@@ -49,7 +51,7 @@ jobs:
4951
gh label create "🏯 styles" --description "Stylesheets or design updates" --color "550F5A" --force
5052
gh label create "🔒 wontfix" --description "This will not be worked on" --color "FFFFFF" --force
5153
52-
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5
54+
- uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1
5355
with:
5456
configuration-path: .github/labeler.yaml
5557
sync-labels: true

.github/workflows/welcome-bot.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ jobs:
2020
app_id: ${{ secrets.BOT_APP_ID }}
2121
private_key: ${{ secrets.BOT_PRIVATE_KEY }}
2222

23-
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
23+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
24+
with:
25+
persist-credentials: false
2426
- name: Convert Repository Name to Title Case
2527
id: convert_repo_name
2628
run: |

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
"version": "pnpm changeset version && pnpm i --no-frozen-lockfile"
1515
},
1616
"devDependencies": {
17-
"@changesets/changelog-github": "^0.5.0",
18-
"@changesets/cli": "^2.27.11",
17+
"@changesets/changelog-github": "^0.5.1",
18+
"@changesets/cli": "^2.29.7",
1919
"@trivago/prettier-plugin-sort-imports": "5.2.2",
20-
"prettier": "3.5.3",
20+
"prettier": "3.6.2",
2121
"prettier-plugin-astro": "0.14.1"
2222
},
2323
"packageManager": "pnpm@10.10.0"

0 commit comments

Comments
 (0)