Skip to content

Commit 813fced

Browse files
chore: use daily maintanance workflow (#460)
* use tagged workflow from cicd workflows
1 parent 5e1d80d commit 813fced

1 file changed

Lines changed: 18 additions & 7 deletions

File tree

Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# *******************************************************************************
2-
# Copyright (c) 2025 Contributors to the Eclipse Foundation
2+
# Copyright (c) 2026 Contributors to the Eclipse Foundation
33
#
44
# See the NOTICE file(s) distributed with this work for additional
55
# information regarding copyright ownership.
@@ -11,19 +11,30 @@
1111
# SPDX-License-Identifier: Apache-2.0
1212
# *******************************************************************************
1313

14-
name: Documentation Cleanup
14+
name: Daily Maintenance
1515

1616
permissions:
1717
contents: write
18+
issues: write
19+
pull-requests: write
1820
pages: write
1921
id-token: write
2022

2123
on:
24+
# Runs every day at midnight UTC
2225
schedule:
23-
- cron: '0 0 * * *' # Runs every day at midnight UTC
26+
- cron: '0 0 * * *'
27+
28+
# On changes to this workflow file
29+
pull_request:
30+
branches:
31+
- main
32+
paths:
33+
- '.github/workflows/daily.yml'
34+
35+
# Manually trigger the workflow from the GitHub UI
36+
workflow_dispatch: {}
2437

2538
jobs:
26-
docs-cleanup:
27-
uses: eclipse-score/cicd-workflows/.github/workflows/docs-cleanup.yml@c1c90b1a82a1fab0fc202979dde6686b2162d5a8 # v0.0.0
28-
secrets:
29-
token: ${{ secrets.GITHUB_TOKEN }}
39+
maintenance:
40+
uses: eclipse-score/cicd-workflows/.github/workflows/daily.yml@829b3e11ccbf924a5782f7bfed647cb1619fdf78 # v0.0.1

0 commit comments

Comments
 (0)