Keep image retention checks on main updates only
This commit is contained in:
@@ -1,13 +1,5 @@
|
||||
name: Wiki image retention checks
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'scripts/wiki-image-lifecycle.py'
|
||||
- 'scripts/deploy.sh'
|
||||
- 'tests/test_wiki_image_lifecycle.py'
|
||||
- '.gitea/workflows/wiki-image-retention-checks.yml'
|
||||
- '.gitea/workflows/waterfall-wiki.yml'
|
||||
- 'Dockerfile'
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
@@ -16,6 +8,7 @@ on:
|
||||
- '.gitea/workflows/wiki-image-retention-checks.yml'
|
||||
jobs:
|
||||
retention-policy:
|
||||
if: gitea.ref == 'refs/heads/main' && gitea.event_name == 'push'
|
||||
runs-on: ces-control
|
||||
timeout-minutes: 5
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user