Skip to content

Commit ec80a8a

Browse files
committed
ci: bound one-shot favicon refinement runtime
1 parent e280e2e commit ec80a8a

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/provider-favicon-refinement-once.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,17 @@ permissions:
1515

1616
concurrency:
1717
group: niakvio-provider-favicon-refinement-once
18-
cancel-in-progress: false
18+
cancel-in-progress: true
1919

2020
jobs:
2121
refine-once:
2222
runs-on: ubuntu-latest
23-
timeout-minutes: 30
23+
timeout-minutes: 15
2424
steps:
25+
- name: Announce one-shot run
26+
env:
27+
GH_TOKEN: ${{ github.token }}
28+
run: gh issue comment 69 --repo "$GITHUB_REPOSITORY" --body "Provider favicon refinement one-shot started: https://github.com/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}."
2529
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
2630
with:
2731
ref: main
@@ -65,10 +69,6 @@ jobs:
6569
git config user.name 'github-actions[bot]'
6670
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
6771
git add -A
68-
if git diff --cached --quiet; then
69-
echo 'No favicon refinement changed committed assets.'
70-
exit 0
71-
fi
7272
git commit -m 'assets: refine provider logos for small displays'
7373
git fetch origin main
7474
git rebase origin/main

0 commit comments

Comments
 (0)