From 522f0b7b5ff5242756d6ba7d65f1f9f343aebb58 Mon Sep 17 00:00:00 2001 From: yesjjin99 Date: Thu, 16 Jan 2025 23:54:54 +0900 Subject: [PATCH] chore: rename 'dev-deployment.yml' to 'cd-dev.yml' YAF-65 --- .github/workflows/{dev-deployment.yml => cd-dev.yml} | 4 +++- .github/workflows/ci.yml | 7 ++++--- 2 files changed, 7 insertions(+), 4 deletions(-) rename .github/workflows/{dev-deployment.yml => cd-dev.yml} (99%) diff --git a/.github/workflows/dev-deployment.yml b/.github/workflows/cd-dev.yml similarity index 99% rename from .github/workflows/dev-deployment.yml rename to .github/workflows/cd-dev.yml index 10c255a..f1d0a74 100644 --- a/.github/workflows/dev-deployment.yml +++ b/.github/workflows/cd-dev.yml @@ -14,9 +14,12 @@ jobs: runs-on: ubuntu-latest outputs: image_tag: ${{ steps.generate_tag.outputs.tag }} + steps: - name: checkout uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set up JDK 21 uses: actions/setup-java@v4 @@ -37,7 +40,6 @@ jobs: restore-keys: | ${{ runner.os }}-gradle- - - name: Grant execute permission for gradlew run: chmod +x ./gradlew shell: bash diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d83a882..e9e1700 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,10 @@ name: Java CI with Gradle on: pull_request: - branches: [ "main", "develop" ] - paths: - - "src/**" + branches: [ main, develop ] + +permissions: + contents: read jobs: build: