mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-15 17:30:27 +08:00
fix: add always()
This commit is contained in:
2
.github/workflows/res-update-game.yml
vendored
2
.github/workflows/res-update-game.yml
vendored
@@ -356,7 +356,7 @@ jobs:
|
||||
# gh workflow run release-nightly-ota.yml -f release_body="Auto Release of Resource Updates"
|
||||
|
||||
- name: Comment on issue if failed
|
||||
if: (failure() || cancelled()) && github.ref == 'refs/heads/dev'
|
||||
if: always() && (failure() || cancelled()) && github.ref == 'refs/heads/dev'
|
||||
run: |
|
||||
# Minimize old failure comments
|
||||
comments=$(gh api repos/${{ github.repository }}/issues/14489/comments --jq '.[] | select(.user.login == "github-actions[bot]") | select(.body | contains("${{ github.server_url }}/${{ github.repository }}/actions/runs/")) | .node_id')
|
||||
|
||||
Reference in New Issue
Block a user