-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (32 loc) · 1.06 KB
/
changelog-analysis.yml
File metadata and controls
37 lines (32 loc) · 1.06 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
name: Changelog Analysis
on:
push:
branches:
- irios-new-jenkins-file-verify-release-tags
paths:
- 'changelog-analysis/**'
- '.github/workflows/**'
workflow_dispatch:
inputs:
base_tag:
description: 'Previous release tag (e.g. firefox-v149.3) — leave blank to auto-detect'
required: false
head_tag:
description: 'Current release tag (e.g. firefox-v150.1) — leave blank to auto-detect'
required: false
jobs:
changelog:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install dependencies
run: pip install requests pyyaml
- name: Run changelog analysis
run: |
if [ -n "${{ inputs.base_tag }}" ] && [ -n "${{ inputs.head_tag }}" ]; then
python3 changelog-analysis/run_release_selection.py --base_tag ${{ inputs.base_tag }} --head_tag ${{ inputs.head_tag }}
else
python3 changelog-analysis/run_release_selection.py
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}