-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (36 loc) · 1.01 KB
/
weekly.yml
File metadata and controls
39 lines (36 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Weekly Release
on:
schedule:
- cron: '0 0 * * 0' # Every Sunday at 00:00
workflow_dispatch: # Allow manual trigger for testing
jobs:
check_relevance:
runs-on: ubuntu-latest
outputs:
relevance: ${{ steps.check.outputs.relevance }}
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.14.3'
- name: Check for relevant changes
id: check
run: python .github/scripts/check_relevance.py
trigger_release:
needs: check_relevance
if: needs.check_relevance.outputs.relevance == 'true'
runs-on: ubuntu-latest
permissions:
contents: write
actions: write
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Trigger Release Workflow
run: |
gh workflow run release.yml -f release_type=development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}