From 844801d05190412868bdfa5fb348503a31399996 Mon Sep 17 00:00:00 2001 From: Shota Kubota Date: Sun, 10 Nov 2024 17:24:33 +0900 Subject: [PATCH] ci(github): specify working-directory --- .github/workflows/check.yml | 3 +++ .github/workflows/lint.yml | 3 +++ .github/workflows/release.yml | 3 +++ .github/workflows/test.yml | 3 +++ .github/workflows/upload_og_image_to_s3.yml | 5 +++++ 5 files changed, 17 insertions(+) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 466bb0410..4d4a2a2d5 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -9,6 +9,9 @@ on: jobs: check: runs-on: ubuntu-latest + defaults: + run: + working-directory: client steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 59fc373fb..fac63149f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,6 +9,9 @@ on: jobs: lint: runs-on: ubuntu-latest + defaults: + run: + working-directory: client steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9a70cfd03..d2aad43d4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,9 @@ on: jobs: release: runs-on: ubuntu-latest + defaults: + run: + working-directory: client steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4eaacba0d..7b1f14e6f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,6 +12,9 @@ env: jobs: test: runs-on: ubuntu-latest + defaults: + run: + working-directory: client steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/upload_og_image_to_s3.yml b/.github/workflows/upload_og_image_to_s3.yml index 1f5c41c73..1704bad50 100644 --- a/.github/workflows/upload_og_image_to_s3.yml +++ b/.github/workflows/upload_og_image_to_s3.yml @@ -3,6 +3,8 @@ name: Upload og:image to S3 on: push: branches: [main] + paths: + - client/public/assets/images/og/** env: AWS_BUCKET_NAME: ${{ secrets.AWS_BUCKET_NAME }} @@ -14,6 +16,9 @@ permissions: jobs: upload: runs-on: ubuntu-latest + defaults: + run: + working-directory: client steps: - uses: actions/checkout@v4