diff --git a/.github/workflows/diff_comment.yml b/.github/workflows/diff_comment.yml index cc90e22..7da5004 100644 --- a/.github/workflows/diff_comment.yml +++ b/.github/workflows/diff_comment.yml @@ -8,7 +8,6 @@ on: jobs: comment: runs-on: ubuntu-latest - if: github.event.workflow_run.jobs['diff'].steps.upload-log.outputs.artifact_id permissions: issues: write steps: @@ -21,7 +20,8 @@ jobs: uses: actions/download-artifact@v4 with: name: openapi-diff-log - workflow: 'Lint and validate OpenAPI specs' + run-id: ${{ github.event.workflow_run.id }} + github-token: ${{ secrets.GITHUB_TOKEN }} - name: Create PR comment uses: actions/github-script@v7