mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-31 23:17:29 -08:00
CI: Fix ignore pattern & highlight status of translation automations (#4977)
* Add result of run to GHA summary * Fix `paths-ignore`
This commit is contained in:
2
.github/workflows/desktop-build.yml
vendored
2
.github/workflows/desktop-build.yml
vendored
@@ -16,7 +16,7 @@ on:
|
||||
- '**.md'
|
||||
- 'webclient/**'
|
||||
- '.github/workflows/web-*.yml'
|
||||
- '.github/workflows/translations.yml'
|
||||
- '.github/workflows/translations-*.yml'
|
||||
|
||||
# Cancel earlier, unfinished runs of this workflow on the same branch (unless on master)
|
||||
concurrency:
|
||||
|
||||
6
.github/workflows/translations-pull.yml
vendored
6
.github/workflows/translations-pull.yml
vendored
@@ -65,8 +65,8 @@ jobs:
|
||||
STATUS: ${{ steps.create_pr.outputs.pull-request-operation }}
|
||||
run: |
|
||||
if [[ "$STATUS" == "" ]]; then
|
||||
echo "PR #${{ steps.create_pr.outputs.pull-request-number }} unchanged!"
|
||||
echo "PR #${{ steps.create_pr.outputs.pull-request-number }} unchanged!" >> "$GITHUB_OUTPUT"
|
||||
else
|
||||
echo "PR #${{ steps.create_pr.outputs.pull-request-number }} $STATUS!"
|
||||
echo "PR #${{ steps.create_pr.outputs.pull-request-number }} $STATUS!" >> "$GITHUB_OUTPUT"
|
||||
fi
|
||||
echo "URL: ${{ steps.create_pr.outputs.pull-request-url }}"
|
||||
echo "URL: ${{ steps.create_pr.outputs.pull-request-url }}" >> "$GITHUB_OUTPUT"
|
||||
|
||||
6
.github/workflows/translations-push.yml
vendored
6
.github/workflows/translations-push.yml
vendored
@@ -80,8 +80,8 @@ jobs:
|
||||
STATUS: ${{ steps.create_pr.outputs.pull-request-operation }}
|
||||
run: |
|
||||
if [[ "$STATUS" == "" ]]; then
|
||||
echo "PR #${{ steps.create_pr.outputs.pull-request-number }} unchanged!"
|
||||
echo "PR #${{ steps.create_pr.outputs.pull-request-number }} unchanged!" >> "$GITHUB_OUTPUT"
|
||||
else
|
||||
echo "PR #${{ steps.create_pr.outputs.pull-request-number }} $STATUS!"
|
||||
echo "PR #${{ steps.create_pr.outputs.pull-request-number }} $STATUS!" >> "$GITHUB_OUTPUT"
|
||||
fi
|
||||
echo "URL: ${{ steps.create_pr.outputs.pull-request-url }}"
|
||||
echo "URL: ${{ steps.create_pr.outputs.pull-request-url }}" >> "$GITHUB_OUTPUT"
|
||||
|
||||
Reference in New Issue
Block a user