From be7bb471b93e9d57d7c0c930fd103e1eea69aff2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Ord=C3=A1s?= <3125580+davorpa@users.noreply.github.com> Date: Sun, 4 Sep 2022 11:54:32 +0200 Subject: [PATCH] fix: report not work since job outputs aren't exported from their respective jobs --- .github/workflows/stale.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 54f857a78..337b85cc5 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -33,6 +33,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/stale@v5 + id: staler with: operations-per-run: 30 days-before-issue-stale: 60 @@ -71,6 +72,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/stale@v5 + id: staler with: operations-per-run: 30 days-before-pr-stale: 60 @@ -127,7 +129,7 @@ jobs: GITHUB_REPO_URL: ${{ format('{0}/{1}', github.server_url, github.repository) }} GITHUB_ISSUES_URL: ${{ format('{0}/{1}/issues', github.server_url, github.repository) }} GITHUB_PULL_URL: ${{ format('{0}/{1}/pull', github.server_url, github.repository) }} - STALED_ISSUES: ${{ needs.process-issues.outputs.staled-issues-prs }} - CLOSED_ISSUES: ${{ needs.process-issues.outputs.closed-issues-prs }} - STALED_PRS: ${{ needs.process-prs.outputs.staled-issues-prs }} - CLOSED_PRS: ${{ needs.process-prs.outputs.closed-issues-prs }} + STALED_ISSUES: ${{ needs.process-issues.outputs.staled-issues }} + CLOSED_ISSUES: ${{ needs.process-issues.outputs.closed-issues }} + STALED_PRS: ${{ needs.process-prs.outputs.staled-prs }} + CLOSED_PRS: ${{ needs.process-prs.outputs.closed-prs }}