Skip to content

Generate notes

Generate notes #12

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: setup git config
run: |
# setup the username and email.
git config user.name "GitHub Actions Bot"
git config user.email "<[email protected]>"
- name: Commit changes
run: |
# Commit and push
git commit -am "Update release notes"
git push