From fe9d69df3923308c6ca857e30b9654a13cb8ca06 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 19 Apr 2026 07:18:38 +0000 Subject: [PATCH] style: simplify workflow if expressions Agent-Logs-Url: https://github.com/th30d4y/OpenLearnX/sessions/46d635ed-7046-41a5-a1d6-d39ad7d81a99 Co-authored-by: Stalin-143 <161853795+Stalin-143@users.noreply.github.com> --- .github/workflows/mirror-repo-events-to-logs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/mirror-repo-events-to-logs.yml b/.github/workflows/mirror-repo-events-to-logs.yml index 767441d..f8e6e3a 100644 --- a/.github/workflows/mirror-repo-events-to-logs.yml +++ b/.github/workflows/mirror-repo-events-to-logs.yml @@ -36,7 +36,7 @@ jobs: fi - name: Checkout logs repository - if: ${{ steps.ensure_pat.outputs.has_pat == 'true' }} + if: steps.ensure_pat.outputs.has_pat == 'true' uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 with: repository: th30d4y/LOGS @@ -44,7 +44,7 @@ jobs: path: logs-repo - name: Append event payload to daily log file - if: ${{ steps.ensure_pat.outputs.has_pat == 'true' }} + if: steps.ensure_pat.outputs.has_pat == 'true' env: SOURCE_REPOSITORY: ${{ github.repository }} SOURCE_EVENT_NAME: ${{ github.event_name }} @@ -103,7 +103,7 @@ jobs: fi - name: Commit and push logs - if: ${{ steps.ensure_pat.outputs.has_pat == 'true' }} + if: steps.ensure_pat.outputs.has_pat == 'true' run: | set -euo pipefail cd logs-repo