mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
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.
This commit is contained in:
parent
2629605ab2
commit
47e8e428bf
1 changed files with 5 additions and 5 deletions
10
.github/workflows/periodic-merge.yml
vendored
10
.github/workflows/periodic-merge.yml
vendored
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue