Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency node to v20.17.0 - abandoned #567

Open
wants to merge 174 commits into
base: misskey-na2na
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
174 commits
Select commit Hold shift + click to select a range
c43e94d
Update docker-compose.yml
na2na-p Jan 20, 2023
c0c952d
Add actions
na2na-p Jan 20, 2023
af025e5
Update VSCode settings
na2na-p Jan 20, 2023
3ed8cf0
文字の縁取りを消した
na2na-p Jan 20, 2023
24cd366
Add github token
na2na-p Jan 20, 2023
561e7e2
Update workflows
na2na-p Jan 20, 2023
e4dc575
Fix fontsize
na2na-p Jan 20, 2023
c61af26
Add .tool-versions
na2na-p Jan 24, 2023
a964b94
Update pnpm version
na2na-p Jan 27, 2023
823e944
Update tool-versions
na2na-p Feb 3, 2023
118b6c1
Update docker-compose.yml
na2na-p Jan 20, 2023
37c07a1
Add db container
na2na-p Feb 3, 2023
607e06a
Add cloudflare tunnel
na2na-p Feb 3, 2023
d2f3cd5
Update
na2na-p Feb 3, 2023
8be2f0b
Update .gitignore
na2na-p Feb 3, 2023
3d2f007
Add nginx container
na2na-p Feb 3, 2023
7cbb299
Add update command
na2na-p Feb 3, 2023
266351d
Update
na2na-p Feb 3, 2023
0d01f4a
Update
na2na-p Feb 4, 2023
f603580
Change Volumeの取扱変えた
na2na-p Feb 4, 2023
ed8aeed
Update バックアップ用出入り口
na2na-p Feb 4, 2023
fdca542
Update container images
na2na-p Feb 4, 2023
b1491d0
Rename compose.yml
na2na-p Feb 4, 2023
9ab71dd
Update actions
na2na-p Jan 9, 2023
6279b2e
Add renovate
na2na-p Feb 4, 2023
c8c552d
Update Node.js to v18.14.0
renovate[bot] Feb 4, 2023
56a95e5
Add db backup command
na2na-p Feb 4, 2023
41aaf59
Update docker/build-push-action action to v4
renovate[bot] Feb 5, 2023
284cd8c
Remove tunnel container
na2na-p Feb 15, 2023
6649765
Fix dockle
na2na-p Mar 3, 2023
7b0000e
Update CI user
na2na-p Mar 3, 2023
d329cce
Update postgres Docker tag
renovate[bot] Mar 3, 2023
756ea5c
Update redis Docker tag
renovate[bot] Mar 3, 2023
f8340db
Update pnpm version
na2na-p Mar 3, 2023
8b527da
Redisの終了が遅いのを修正
na2na-p Mar 3, 2023
220f5a0
Update tibdex/github-app-token action to v1.8.0
renovate[bot] Mar 4, 2023
0bf492a
Update dependency pnpm to v7.29.0
renovate[bot] Mar 6, 2023
b851d6d
Update CD
na2na-p Mar 17, 2023
b7c91ff
その場ビルドやめた
na2na-p Mar 17, 2023
890e5a6
CD test
na2na-p Mar 17, 2023
ad48bfb
Update dependency pnpm to v7.29.3
renovate[bot] Mar 15, 2023
1072d24
Update docker/setup-buildx-action action to v2.5.0
na2na-p Mar 17, 2023
7ba09be
Update update-command
na2na-p Mar 23, 2023
2a85333
Update pnpm
na2na-p Apr 2, 2023
afcefc2
絵文字ボタンをモーダルフッターへ (#395)
na2na-p Apr 2, 2023
311fc9b
Update dependency pnpm to v8.1.1 (#398)
renovate[bot] Apr 4, 2023
2c25480
Update actions/checkout action to v3.5.0 (#397)
renovate[bot] Apr 9, 2023
32034de
Update redis Docker tag to v7.0.10 (#399)
renovate[bot] Apr 11, 2023
5ed8375
Update nginx Docker tag to v1.23.4 (#396)
renovate[bot] Apr 11, 2023
fd922ba
Update dependency pnpm to v8.2.0 (#401)
renovate[bot] Apr 11, 2023
4db7baa
Update nginx Docker tag to v1.24.0 (#405)
renovate[bot] Apr 12, 2023
7406461
Update actions/github-script action to v6.4.1 (#400)
renovate[bot] Apr 12, 2023
668159b
Update actions/checkout action to v3.5.2 (#406)
renovate[bot] Apr 13, 2023
ceed55d
Update redis Docker tag to v7.0.11 (#408)
renovate[bot] May 7, 2023
bf12b82
Update dependency pnpm to v8.4.0 (#409)
renovate[bot] May 7, 2023
da79ee2
Update Node.js to v18.16.0 (#407)
renovate[bot] May 7, 2023
0a2c8bf
Update dependency pnpm to v8.5.0 (#411)
renovate[bot] May 11, 2023
6a258f2
Add meilisearch settings
na2na-p May 11, 2023
82282b4
Update postgres Docker tag to v15.3 (#412)
renovate[bot] May 16, 2023
463797a
Update dependency pnpm to v8.5.1
renovate[bot] May 16, 2023
1780668
Fix 存在しないオプションの削除
na2na-p May 16, 2023
acc45e5
Fix S3_PROXY_PASS
na2na-p May 16, 2023
aa3cd4e
Update nginx Docker tag to v1.25.0 (#414)
renovate[bot] May 27, 2023
e00a0b6
Update dependency pnpm to v8.6.1 (#415)
renovate[bot] Jun 6, 2023
d1f6c90
Update docker/setup-buildx-action action to v2.6.0 (#416)
renovate[bot] Jun 10, 2023
b0344d0
Update example
na2na-p Jun 10, 2023
30acee2
Update actions/checkout action to v3.5.3 (#417)
renovate[bot] Jun 12, 2023
d9d2555
ビルド周り改修
na2na-p Jul 22, 2023
c163a79
Update nginx Docker tag to v1.25.1
renovate[bot] Jul 22, 2023
c44cdb6
Update redis Docker tag to v7.0.12
renovate[bot] Jul 22, 2023
398e856
Update docker/setup-buildx-action action to v2.9.1
renovate[bot] Jul 22, 2023
eb6199b
Update dependency pnpm to v8.6.9
renovate[bot] Jul 22, 2023
f20042c
Update dependency pnpm to v8.6.10
renovate[bot] Jul 24, 2023
f2054b1
Update dependency node to v18.17.0
renovate[bot] Jul 22, 2023
b134d08
Update nginx Docker tag to v1.25.2 (#431)
renovate[bot] Aug 17, 2023
534549e
Update dependency node to v18.17.1
renovate[bot] Aug 17, 2023
ee741d8
jemallocを使うように
na2na-p Aug 17, 2023
16bd3cf
Update redis Docker tag to v7.2.0 (#432)
renovate[bot] Aug 17, 2023
0560bcc
Update mcr.microsoft.com/devcontainers/javascript-node Docker tag to …
renovate[bot] Aug 17, 2023
3dab688
Redis 7.2.0にamd64がないので戻す
na2na-p Aug 17, 2023
af68d5f
Update dependency pnpm to v8.6.12
renovate[bot] Aug 17, 2023
fae5867
Update dependency pnpm to v8.7.0 (#436)
renovate[bot] Aug 31, 2023
50fb72f
Update docker/setup-buildx-action action to v2.10.0 (#437)
renovate[bot] Aug 31, 2023
a176ccc
Update dependency pnpm to v8.7.4 (#438)
renovate[bot] Sep 6, 2023
20e78f0
おひとり様にリノートローカル限定継承不要なので削除
na2na-p Sep 7, 2023
fa29c51
Update dependency pnpm to v8.7.5 (#445)
renovate[bot] Sep 12, 2023
d0bd38f
Update docker/login-action action to v3 (#447)
renovate[bot] Sep 18, 2023
2798a7f
Update dependency pnpm to v8.7.6 (#450)
renovate[bot] Sep 19, 2023
6166eb6
Update actions/checkout action to v4 (#440)
renovate[bot] Sep 19, 2023
0f09ddc
Update docker/metadata-action action to v5 (#448)
renovate[bot] Sep 19, 2023
f809a12
Update tibdex/github-app-token action to v2 (#444)
renovate[bot] Sep 19, 2023
eef633a
Update tibdex/github-app-token action to v2.1.0 (#454)
renovate[bot] Sep 20, 2023
d7ffd75
Update docker/build-push-action action to v5 (#446)
renovate[bot] Sep 20, 2023
f3ebf87
Update docker/setup-buildx-action action to v3 (#449)
renovate[bot] Sep 20, 2023
63a66ac
Update redis Docker tag to v7.2.1 (#433)
renovate[bot] Sep 20, 2023
5ec27f0
Update dependency node to v20.7.0 (#452)
renovate[bot] Sep 20, 2023
d4e68cf
Update actions/checkout action to v4.1.0 (#455)
renovate[bot] Sep 24, 2023
b14ed85
自リアクションによる枠線消す
na2na-p Sep 24, 2023
820a935
リアクションのサイズのデフォルトを小に
na2na-p Sep 24, 2023
921fa94
Update dependency node to v20.8.0 (#459)
renovate[bot] Oct 1, 2023
f8e00ce
Update dependency pnpm to v8.8.0 (#458)
renovate[bot] Oct 3, 2023
2e478b8
Update dependency pnpm to v8.9.0 (#460)
renovate[bot] Oct 9, 2023
b282eb1
Update dependency pnpm to v8.9.2 (#462)
renovate[bot] Oct 16, 2023
4ba9173
Update dependency node to v20.8.1 (#461)
renovate[bot] Oct 16, 2023
06bdcaa
Update actions/checkout action to v4.1.1 (#464)
renovate[bot] Oct 19, 2023
7dfe248
Update dependency node to v20.9.0 (#472)
renovate[bot] Nov 1, 2023
94b8ffe
Update nginx Docker tag to v1.25.3 (#473)
renovate[bot] Nov 1, 2023
41f36f4
Update dependency pnpm to v8.10.0 (#474)
renovate[bot] Nov 1, 2023
7b25d20
Update dependency pnpm to v8.10.2 (#475)
renovate[bot] Nov 1, 2023
57a5465
Update dependency pnpm to v8.10.3 (#476)
renovate[bot] Nov 13, 2023
b69ec26
Update redis Docker tag to v7.2.3 (#466)
renovate[bot] Nov 13, 2023
6f8623e
Update actions/github-script action to v7 (#478)
renovate[bot] Nov 15, 2023
a2ecfab
Update dependency pnpm to v8.10.5 (#477)
renovate[bot] Nov 15, 2023
8348896
Update docker/dockerfile Docker tag to v1.6 (#480)
renovate[bot] Nov 16, 2023
7d16312
docker publish周り改修 (#481)
na2na-p Nov 17, 2023
fbfff07
squash mergeやめる
na2na-p Nov 17, 2023
b10a95c
Update actions/github-script action to v7.0.1
renovate[bot] Nov 18, 2023
36d2a28
Update dependency pnpm to v8.11.0
renovate[bot] Nov 24, 2023
b1535e2
Update dependency node to v20.10.0
renovate[bot] Nov 25, 2023
eb6665d
リバースプロキシをCloudflare workersに移譲する
na2na-p Nov 30, 2023
41b0ca4
CW注釈必須なくす
na2na-p Dec 4, 2023
9ad7c10
CW注釈必須なくす2
na2na-p Dec 4, 2023
787527a
Renote元ノートへの詳細表示ボタン追加
na2na-p Dec 13, 2023
476c5b0
空文字cwはvalid扱いにする
na2na-p Dec 26, 2023
0b470e7
fix lint
na2na-p Dec 26, 2023
49b0f38
redisやpostgresql追加
na2na-p Dec 29, 2023
a4175f2
helmにしてみた
na2na-p Dec 29, 2023
290fb0c
fix
na2na-p Dec 29, 2023
d1e9dee
Update redis Docker tag to v7.2.4
renovate[bot] Jan 12, 2024
cf60e75
Update dependency node to v20.11.0
renovate[bot] Jan 12, 2024
9a78a10
Update dependency pnpm to v8.14.1
renovate[bot] Jan 12, 2024
4d07a6c
Update actions/cache action to v4
renovate[bot] Jan 17, 2024
2369299
Update nginx Docker tag to v1.25.4
renovate[bot] Feb 14, 2024
7629182
Update dependency node to v20.11.1
renovate[bot] Feb 16, 2024
16b3a4e
spec(backend/NoteCreateService): ローカルユーザーがまだ誰もフォローしていないリモートユーザーによる通知を…
u1-liquid Feb 17, 2024
02f42d7
ロギング周りの修正
na2na-p Feb 18, 2024
876fb9e
弾く弾かないの挙動決定をdefault.ymlにやらせる
na2na-p Feb 18, 2024
2daec73
docker_exampleにも増やしたconfig追加しておく
na2na-p Feb 18, 2024
8ee6683
誰もdb使わなくなったので止める
na2na-p Mar 13, 2024
5aef0b4
chart内に昇格
na2na-p Mar 18, 2024
e8e1526
serviceName入れてみる
na2na-p Mar 18, 2024
81d54f8
アーキテクチャによらずlibjemallocを利用できるように
na2na-p Mar 18, 2024
849364d
fix
na2na-p Mar 18, 2024
76a132c
sslまわり
na2na-p Mar 18, 2024
909e13e
Redisなおした
na2na-p Mar 18, 2024
90a4e84
chore(deps): update nginx docker tag to v1.25.5
renovate[bot] Apr 17, 2024
812c9a9
インフラこねた
na2na-p Jun 9, 2024
29aea3f
Podリソース詰める
na2na-p Jun 9, 2024
d186252
不要なワークフローCO
na2na-p Jun 10, 2024
b681ee3
chore(deps): update dependency node to v20.14.0
renovate[bot] Jun 10, 2024
dffb566
chore(deps): update dependency pnpm to v9
renovate[bot] Jun 10, 2024
9781cab
Podリソース詰める
na2na-p Jun 10, 2024
a04c275
chore(deps): update docker/dockerfile docker tag to v1.7
renovate[bot] Jun 10, 2024
887791e
chore(deps): update actions/checkout action to v4.1.6
renovate[bot] Jun 10, 2024
387535e
chore(deps): update nginx docker tag to v1.27.0
renovate[bot] Jun 10, 2024
fc7e6ec
chore(deps): update redis docker tag to v7.2.5
renovate[bot] Jun 10, 2024
22de20c
chore(deps): update postgres docker tag to v16 (#453)
renovate[bot] Jun 10, 2024
6041c70
chore(deps): update dependency pnpm to v9.3.0
renovate[bot] Jun 10, 2024
0e8aaa5
設定詰める
na2na-p Jun 11, 2024
255f484
chore(deps): update docker/dockerfile docker tag to v1.8
renovate[bot] Jun 11, 2024
9169ce8
NodePortやめてClusterIPに変更
na2na-p Jun 27, 2024
835bd09
発火させない
na2na-p Jun 27, 2024
375eb62
chore(deps): update actions/checkout action to v4.1.7
renovate[bot] Jun 27, 2024
457c60a
chore(deps): update dependency node to v20.15.0
renovate[bot] Jul 3, 2024
0bfd60e
バージョン指定の詳細化
na2na-p Jul 8, 2024
a4b4df7
chore(deps): update dependency pnpm to v9.5.0
renovate[bot] Jul 8, 2024
2fd71c8
Pod性能の調整
na2na-p Jul 8, 2024
e4b953c
デフォルトバージョン更新
na2na-p Jul 8, 2024
9e068de
helm valuesの整理
na2na-p Jul 9, 2024
d3523c4
hotfix
na2na-p Jul 9, 2024
33e6be6
hotfix
na2na-p Jul 9, 2024
96a2ac1
Bump
na2na-p Aug 2, 2024
6491892
releaseタグpushやめる
na2na-p Aug 8, 2024
8323ded
chore(deps): update dependency node to v20.17.0
renovate[bot] Aug 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .config/docker_example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,3 +211,7 @@ signToActivityPubGet: true

# Upload or download file size limits (bytes)
#maxFileSize: 262144000

# ローカル宛てのメンション、リプライ、引用ノートの発行元が、ローカルユーザーにフォローされていない場合に投稿を拒否するかどうか
# default: false
# misskeyBlockMentionsFromUnfamiliarRemoteUsers: false
9 changes: 7 additions & 2 deletions .config/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,9 @@ db:
#disableCache: true

# Extra Connection options
#extra:
# ssl: true
# extra:
# ssl:
# rejectUnauthorized: false

dbReplications: false

Expand Down Expand Up @@ -297,3 +298,7 @@ signToActivityPubGet: true

# PID File of master process
#pidFile: /tmp/misskey.pid

# ローカル宛てのメンション、リプライ、引用ノートの発行元が、ローカルユーザーにフォローされていない場合に投稿を拒否するかどうか
# default: false
# misskeyBlockMentionsFromUnfamiliarRemoteUsers: false
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM mcr.microsoft.com/devcontainers/javascript-node:0-18
FROM mcr.microsoft.com/devcontainers/javascript-node:1-18
2 changes: 1 addition & 1 deletion .devcontainer/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ services:

db:
restart: unless-stopped
image: postgres:15-alpine
image: postgres:16-alpine
networks:
- internal_network
environment:
Expand Down
25 changes: 25 additions & 0 deletions .github/actions/github-app-token/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: github-app-token
description: github-app-token
inputs:
app_id:
description: app_id
required: true
private_key:
description: private_key
required: true

outputs:
token:
description: token
value: ${{ steps.token.outputs.token }}

runs:
using: composite
steps:
- uses: tibdex/[email protected]
with:
app_id: ${{ inputs.app_id }}
private_key: ${{ inputs.private_key }}
env:
OPENSSL_CONF: /dev/null
id: token
2 changes: 1 addition & 1 deletion .github/workflows/api-misskey-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- name: Checkout
uses: actions/[email protected].1
uses: actions/[email protected].7

- run: corepack enable

Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/approve.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Approve

on:
pull_request:
types: [labeled]

jobs:
approve:
runs-on: ubuntu-latest
timeout-minutes: 1
if: >-
${{
github.event.label.name == 'Bypass Approve' &&
github.event.pull_request.user.login == 'na2na-p'
}}
env:
NUMBER: ${{ github.event.number }}

steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Generate github token
id: generate_token
uses: ./.github/actions/github-app-token
with:
app_id: ${{ secrets.ZNAZ_APP_ID }}
private_key: ${{ secrets.ZNAZ_PRIVATE_KEY }}
- name: Approve
run: gh pr review ${{ env.NUMBER }} --approve
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
47 changes: 47 additions & 0 deletions .github/workflows/cd-for-misskey-na2na.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: CD for Misskey(na2na)

on:
push:
branches:
- misskey-na2na
workflow_dispatch:

env:
DOCKER_TAG_API_URI: https://registry.hub.docker.com/v2/repositories/na2na/misskey-na2na/tags

jobs:
Prepare:
name: Prepare
runs-on: ubuntu-latest
outputs:
tag_exists: ${{ steps.check_docker_hub.outputs.tag_exists }}
MISSKEY_VERSION: ${{ steps.check_docker_hub.outputs.MISSKEY_VERSION }}
steps:
- name: Check out the repo
uses: actions/[email protected]
- name: Get current version
id: get_version
run: |
echo "MISSKEY_VERSION=$(cat package.json | jq -r '.version')" >> $GITHUB_ENV
- name: Check Docker Hub
id: check_docker_hub
run: |
DOCKER_HUB_TAGS=$(curl -s https://registry.hub.docker.com/v2/repositories/na2na/misskey-na2na/tags | jq -r '.results[] | .name')
if [ $(echo $DOCKER_HUB_TAGS | grep -c $MISSKEY_VERSION) -eq 1 ]; then
echo "Tag $MISSKEY_VERSION already exists on Docker Hub."
else
echo "Tag $MISSKEY_VERSION does not exist on Docker Hub."
echo "tag_exists=false" >> $GITHUB_OUTPUT
echo "MISSKEY_VERSION=$MISSKEY_VERSION" >> $GITHUB_OUTPUT
fi

Build-and-Push-to-Docker-Hub:
needs:
- Prepare
if: ${{ needs.Prepare.outputs.tag_exists == 'false' }}
with:
MISSKEY_VERSION: ${{ needs.Prepare.outputs.MISSKEY_VERSION }}
IMAGE_REPOSITORY: na2na
IMAGE_NAME: misskey-na2na
uses: ./.github/workflows/image-push-for-misskey-na2na-release.yml
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/changelog-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: Checkout head
uses: actions/[email protected].1
uses: actions/[email protected].7
- name: Setup Node.js
uses: actions/[email protected]
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-misskey-js-autogen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
if: ${{ github.event.pull_request.mergeable == null || github.event.pull_request.mergeable == true }}
steps:
- name: checkout
uses: actions/[email protected].1
uses: actions/[email protected].7
with:
submodules: true
ref: refs/pull/${{ github.event.pull_request.number }}/merge
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
if: ${{ github.event.pull_request.mergeable == null || github.event.pull_request.mergeable == true }}
steps:
- name: checkout
uses: actions/[email protected].1
uses: actions/[email protected].7
with:
submodules: true
ref: refs/pull/${{ github.event.pull_request.number }}/merge
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-misskey-js-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected].1
uses: actions/[email protected].7
- name: Check version
run: |
if [ "$(jq -r '.version' package.json)" != "$(jq -r '.version' packages/misskey-js/package.json)" ]; then
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-spdx-license-id.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected].1
uses: actions/[email protected].7
- name: Check
run: |
counter=0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check_copyright_year.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
check_copyright_year:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected].1
- uses: actions/[email protected].7
- run: |
if [ "$(grep Copyright COPYING | sed -e 's/.*2014-\([0-9]*\) .*/\1/g')" -ne "$(date +%Y)" ]; then
echo "Please change copyright year!"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-test-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
wait_time: ${{ steps.get-wait-time.outputs.wait_time }}
steps:
- name: Checkout
uses: actions/[email protected].1
uses: actions/[email protected].7

- name: Check allowed users
id: check-allowed-users
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/docker-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
workflow_dispatch:

env:
REGISTRY_IMAGE: misskey/misskey
REGISTRY_IMAGE: na2na/misskey-na2na

jobs:
# see https://docs.docker.com/build/ci/github-actions/multi-platform/#distribute-build-across-multiple-runners
Expand All @@ -20,29 +20,35 @@ jobs:
platform:
- linux/amd64
- linux/arm64
if: github.repository == 'misskey-dev/misskey'
if: github.repository == 'na2na-p/misskey'
steps:
- name: Prepare
run: |
platform=${{ matrix.platform }}
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
- name: Check out the repo
uses: actions/[email protected].1
uses: actions/[email protected].7
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: na2na/misskey-na2na
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
username: ${{ vars.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push by digest
id: build
uses: docker/build-push-action@v6
uses: docker/build-push-action@v6.3.0
with:
context: .
push: true
platforms: ${{ matrix.platform }}
provenance: false
tags: na2na/misskey-na2na:develop
labels: develop
cache-from: type=gha
cache-to: type=gha,mode=max
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
platform=${{ matrix.platform }}
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
- name: Check out the repo
uses: actions/[email protected].1
uses: actions/[email protected].7
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Docker meta
Expand All @@ -44,11 +44,11 @@ jobs:
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
username: ${{ vars.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and Push to Docker Hub
id: build
uses: docker/build-push-action@v6
uses: docker/build-push-action@v6.3.0
with:
context: .
push: true
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/dockle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
name: Dockle

on:
push:
branches:
- master
- develop
pull_request:
workflow_dispatch

jobs:
dockle:
Expand All @@ -15,14 +11,15 @@ jobs:
DOCKER_CONTENT_TRUST: 1
DOCKLE_VERSION: 0.4.14
steps:
- uses: actions/[email protected].1
- uses: actions/[email protected].7
- name: Download and install dockle v${{ env.DOCKLE_VERSION }}
run: |
curl -L -o dockle.deb "https://github.com/goodwithtech/dockle/releases/download/v${DOCKLE_VERSION}/dockle_${DOCKLE_VERSION}_Linux-64bit.deb"
sudo dpkg -i dockle.deb
- run: |
cp .config/docker_example.env .config/docker.env
cp ./compose_example.yml ./compose.yml
cp ./infra/nginx/.env.example ./infra/nginx/.env
- run: |
docker compose up -d web
docker tag "$(docker compose images web | awk 'OFS=":" {print $4}' | tail -n +2)" misskey-web:latest
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/enable-automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Enable auto merge
on:
pull_request:
types:
- opened
- reopened
branches:
- main
- develop
- misskey-na2na
- misskey-na2na-deploy
- nmnm

jobs:
enable-auto-merge:
runs-on: ubuntu-latest
# if: github.event.pull_request.user.login == 'renovate[bot]' && contains(github.event.pull_request.labels.*.name, 'dependencies')
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Generate github token
id: generate_token
uses: ./.github/actions/github-app-token
with:
app_id: ${{ secrets.ZNAZ_APP_ID }}
private_key: ${{ secrets.ZNAZ_PRIVATE_KEY }}
- uses: alexwilson/enable-github-automerge-action@main
with:
github-token: ${{ steps.generate_token.outputs.token }}
2 changes: 1 addition & 1 deletion .github/workflows/get-api-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
ref: refs/pull/${{ github.event.number }}/merge

steps:
- uses: actions/[email protected].1
- uses: actions/[email protected].7
with:
ref: ${{ matrix.ref }}
submodules: true
Expand Down
Loading