From 719aa96844da80de423c24097e59d4babce163d3 Mon Sep 17 00:00:00 2001 From: takahirom Date: Mon, 14 Aug 2023 23:36:34 +0900 Subject: [PATCH] Adjust for contributors --- .github/workflows/DependencyDiff.yml | 55 ---------------------------- gradle.properties | 1 - 2 files changed, 56 deletions(-) delete mode 100644 .github/workflows/DependencyDiff.yml diff --git a/.github/workflows/DependencyDiff.yml b/.github/workflows/DependencyDiff.yml deleted file mode 100644 index ac15ff8bc..000000000 --- a/.github/workflows/DependencyDiff.yml +++ /dev/null @@ -1,55 +0,0 @@ -name: DependencyDiff -on: - pull_request: - paths: - - 'gradle/libs.versions.toml' - - '**/build.gradle.kts' -concurrency: - group: ${{ github.workflow }}-${{ github.head_ref }} - cancel-in-progress: true - -permissions: {} - -jobs: - dependency_diff: - permissions: - contents: read - pull-requests: write - issues: read - - timeout-minutes: 5 - - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - with: - fetch-depth: 0 - - uses: ./.github/actions/setup-java - - id: dependency-diff - name: Generate dependency diff - run: | - BRANCH_NAME="${GITHUB_HEAD_REF}" - DIFF=$(scripts/dependency_diff.sh "$BASE_BRANCH" "$BRANCH_NAME" app releaseRuntimeClasspath) - DIFF="${DIFF//'%'/'%25'}" - DIFF="${DIFF//$'\n'/'%0A'}" - DIFF="${DIFF//$'\r'/'%0D'}" - echo "text-diff=${DIFF}" >> "$GITHUB_OUTPUT" - env: - BASE_BRANCH: ${{ github.base_ref }} - GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - - uses: peter-evans/find-comment@a54c31d7fa095754bfef525c0c8e5e5674c4b4b1 # v2.4.0 - id: find_comment - with: - issue-number: ${{ github.event.pull_request.number }} - body-includes: Dependency diff - - uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.2 - if: ${{ steps.dependency-diff.outputs.text-diff != null || steps.find_comment.outputs.comment-id != null }} - with: - body: | - Dependency diff: - ```diff - ${{ steps.dependency-diff.outputs.text-diff }} - ``` - edit-mode: replace - comment-id: ${{ steps.find_comment.outputs.comment-id }} - issue-number: ${{ github.event.pull_request.number }} diff --git a/gradle.properties b/gradle.properties index 43b61b983..31248a398 100644 --- a/gradle.properties +++ b/gradle.properties @@ -19,5 +19,4 @@ org.jetbrains.compose.experimental.uikit.enabled=true # roborazzi roborazzi.test.record=true -roborazzi.record.resizeScale=0.5 roborazzi.record.namingStrategy=testClassAndMethod