From 47e8e428bf483336712da34f774f58e3573d4b85 Mon Sep 17 00:00:00 2001 From: Michael Daniels Date: Mon, 30 Mar 2026 19:02:40 -0400 Subject: [PATCH] workflows/periodic-merge: replace commenting action with `gh` cli Per zizmor's [`superfluous-actions`](https://docs.zizmor.sh/audits/#superfluous-actions) rule, which is not yet in the pinned version. --- .github/workflows/periodic-merge.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/periodic-merge.yml b/.github/workflows/periodic-merge.yml index 2eb0e347a0c1..66681b2ece3a 100644 --- a/.github/workflows/periodic-merge.yml +++ b/.github/workflows/periodic-merge.yml @@ -60,10 +60,10 @@ jobs: github_token: ${{ steps.app-token.outputs.token }} - name: Comment on failure - uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5.0.0 if: ${{ failure() }} - with: - issue-number: 105153 - body: | + env: + BODY_TEXT: | Periodic merge from `${{ inputs.from }}` into [`${{ inputs.into }}`](https://github.com/NixOS/nixpkgs/tree/${{ inputs.into }}) has [failed](https://github.com/NixOS/nixpkgs/actions/runs/${{ github.run_id }}). - token: ${{ steps.app-token.outputs.token }} + GH_TOKEN: ${{ steps.app-token.outputs.token }} + run: | + gh pr comment 105153 --body "$BODY_TEXT"