forked from debezium/debezium
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (30 loc) · 1.1 KB
/
missing-commits-by-issue-key.yml
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
name: Missing commits check
# 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.
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
uses: actions/checkout@v3
- name: Run script
env:
FIXED_VERSION: ${{ github.event.inputs.fixed_version }}
FROM_TAG: ${{ github.event.inputs.from_tag }}
TO_TAG: ${{ github.event.inputs.to_tag }}
WEBHOOK_TOKEN: ${{ secrets.JIRA_TOKEN }}
run: |
./github-support/list-missing-commits-by-issue-key.sh $FIXED_VERSION $FROM_TAG $TO_TAG $WEBHOOK_TOKEN