@@ -11,8 +11,11 @@ You need to provide 2 refs to the action, `head` and `base`. The action steps ar
11111 . Fetch all the commits between the ` head ` and ` base ` refs
12122 . Find any reference to JIRA ticket numbers, based on the ` jira-code ` you provide
13133 . Will fetch the ticket titles using the ` jira-host ` , ` jira-username ` and ` jira-password ` you provide
14- 4 . Will generate a pdf with the list of changed tickets, and output the file path under the ` pdf ` variable
15- 5 . (OPTIONAL) If the ` email-to ` and ` sendgrid-api-key ` are provided, and email will be sent with the notes
14+ 4 . If ` pdf ` is set to true:
15+ 4.1. Will generate a pdf with the list of changed tickets, and output the file path under the ` pdf ` variable
16+ otherwise
17+ 4.2. Will generate markdown with the list of changed tickets, and output it under the ` markdown ` variable
18+ 6 . (OPTIONAL) If the ` email-to ` and ` sendgrid-api-key ` are provided, and email will be sent with the notes
1619
1720## Credentials: Passwords vs API Tokens
1821
@@ -83,6 +86,9 @@ Subject of the release email
8386
8487Name of the app or service
8588
89+ ### pdf
90+ If set to true, will generate pdf otherwise markdown, default: false
91+
8692### unshallow
8793
8894If set to true, will unshallow the repository before fetching the commits, default: false
@@ -93,6 +99,9 @@ If set to true, will unshallow the repository before fetching the commits, defau
9399
94100The path of the generated pdf
95101
102+ ### ` markdown `
103+ The markdown generated
104+
96105## Example usage
97106
98107``` yaml
@@ -123,8 +132,9 @@ jobs:
123132124133 sendgrid-api-key : ${{secrets.sendgrid_api_key}}
125134 app-name : ' My Awesome Service'
135+ pdf : true
126136 unshallow : true
127137 - name : Process the pdf
128138 run : echo "The generated pdf was ${{ steps.pdf_generator.outputs.pdf }}"
129139
130- ` ` `
140+ ` ` `
0 commit comments