Skip to content

Generate notes

Generate notes #6

name: Generate notes
on:
workflow_dispatch:
# Inputs the workflow accepts.
inputs:
filter_id:
description: 'Please, provide the Jira filter id'
required: true
type: string
env:
FILTER_ID: ${{ inputs.filter_id }}
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
generate_notes:
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v3
# Generate github release notes
- name: Generate release notes
working-directory: ./scripts
run: python3 generateReleaseNotes.py
- name: Commit changes
run: git commit -am "Update release notes"
- name: Push changes
run: git push