From 33f22164b9f901db92f211924a3ec7f79380a5d2 Mon Sep 17 00:00:00 2001 From: takahirom Date: Mon, 28 Oct 2024 19:59:28 +0900 Subject: [PATCH 1/2] Fix LOG_URL --- .github/workflows/dependency-diff-comment.yaml | 3 ++- .github/workflows/dependency-diff.yaml | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dependency-diff-comment.yaml b/.github/workflows/dependency-diff-comment.yaml index dbab284a..425ea725 100644 --- a/.github/workflows/dependency-diff-comment.yaml +++ b/.github/workflows/dependency-diff-comment.yaml @@ -18,7 +18,8 @@ jobs: actions: read contents: write pull-requests: write - + env: + LOG_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.event.workflow_run.id }} steps: - name: Download PR number artifact uses: dawidd6/action-download-artifact@v2 diff --git a/.github/workflows/dependency-diff.yaml b/.github/workflows/dependency-diff.yaml index a6131468..8bdc6530 100644 --- a/.github/workflows/dependency-diff.yaml +++ b/.github/workflows/dependency-diff.yaml @@ -7,8 +7,6 @@ jobs: runs-on: ubuntu-latest permissions: contents: read - env: - LOG_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} steps: - uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0 with: From a66d789e321847c0f92c7e1a9f107c5a5be1e6d7 Mon Sep 17 00:00:00 2001 From: takahirom Date: Mon, 28 Oct 2024 20:04:41 +0900 Subject: [PATCH 2/2] Fix NR path --- .github/workflows/dependency-diff-comment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependency-diff-comment.yaml b/.github/workflows/dependency-diff-comment.yaml index 425ea725..757a724c 100644 --- a/.github/workflows/dependency-diff-comment.yaml +++ b/.github/workflows/dependency-diff-comment.yaml @@ -30,7 +30,7 @@ jobs: - name: Get pull request number id: get-pr-number run: | - PR_NUMBER=$(cat pr/NR) + PR_NUMBER=$(cat NR) echo "PR_NUMBER=$PR_NUMBER" >> $GITHUB_ENV - name: Download dependency diff artifacts