2021-12-12 21:05:43 +01:00
|
|
|
name: Missing commits check
|
|
|
|
|
2022-01-06 18:58:38 +01:00
|
|
|
# The Jira access token for performing authenticated queries requires that the variable
|
|
|
|
# be passed to the workflow using WEBHOOK_TOKEN so that it can be properly masked. It
|
|
|
|
# is currently the only way to do this reliably with GitHub Actions.
|
|
|
|
|
2021-12-12 21:05:43 +01:00
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
inputs:
|
|
|
|
fixed_version:
|
|
|
|
description: 'The Jira fixed version (e.g. 1.8.0.Final)'
|
|
|
|
required: true
|
|
|
|
from_tag:
|
|
|
|
description: 'The tag to start from (e.g. v1.8.0.CR1)'
|
|
|
|
required: true
|
|
|
|
to_tag:
|
|
|
|
description: 'The tag to end at (e.g. v1.8.0.Final)'
|
|
|
|
required: true
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
script:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout action
|
2023-09-04 22:10:59 +02:00
|
|
|
uses: actions/checkout@v4
|
2021-12-12 21:05:43 +01:00
|
|
|
- name: Run script
|
2022-01-06 18:58:38 +01:00
|
|
|
env:
|
|
|
|
FIXED_VERSION: ${{ github.event.inputs.fixed_version }}
|
|
|
|
FROM_TAG: ${{ github.event.inputs.from_tag }}
|
|
|
|
TO_TAG: ${{ github.event.inputs.to_tag }}
|
2022-01-21 16:06:46 +01:00
|
|
|
WEBHOOK_TOKEN: ${{ secrets.JIRA_TOKEN }}
|
2021-12-12 21:05:43 +01:00
|
|
|
run: |
|
2022-01-06 18:58:38 +01:00
|
|
|
./github-support/list-missing-commits-by-issue-key.sh $FIXED_VERSION $FROM_TAG $TO_TAG $WEBHOOK_TOKEN
|