Inside your .github/workflows/workflow.yml file:
steps:
- uses: AbbasMathiew/update-pr-description@main
with:
body: ${{ description }} # The text you wish to overwrite your Pull Request description with, can be a variable or a string
token: ${{ secrets.GITHUB_TOKEN }}
jiraBaseUrl: https://example.atlassian.net/browse
jiraProjectKey: EXMThis action currently supports three inputs from the user: body, token, jiraBaseUrl, and jiraProjectKey. These inputs, along with their descriptions and usage contexts, are listed in the table below:
| Input | Description | Usage |
|---|---|---|
body |
The text you wish to overwrite your Pull Request description with | Required |
token |
Your Github access token, which will already be available within your workflow without any additional setup | Required |
jiraBaseUrl |
The Jira base url up until /ticket-number | Required |
jiraProjectKey |
The jira project key, usually prefixing the ticket number example; EXM in EXM-123 | Required |
The code in this project is released under the MIT.