forked from ukhsa-collaboration/COVID-19-app-iOS-BETA
-
Notifications
You must be signed in to change notification settings - Fork 19
36 lines (31 loc) · 972 Bytes
/
generate-release-note.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
34
35
36
name: generate-release-note
on:
repository_dispatch:
types: [generate-release-note]
jobs:
generate-release-note:
runs-on:
- linux
- aws
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v2
with:
fetch-depth: 0 # checkout full repo with all tags
- name: Checkout ci tools
id: checkout-ci-tools
uses: actions/checkout@v2
with:
token: ${{ secrets.DEPLOYMENT_TOKEN }}
repository: nhsx/sonar-ci-tools
path: ci-tools
ref: v0.2.0
- name: Generate release notes
id: generate_release_notes
uses: ./ci-tools/.github/actions/generate-release-notes
with:
tracker_token: ${{ secrets.tracker_api_token }}
revision_range: ${{ github.event.client_payload.revision_range }}
- name: Print release notes
run: echo "${{ steps.generate_release_notes.outputs.release_notes }}"