This github action updates the description (and/or title) of the PR by the given source and destination branches.
name: Creates and Updates PR
on:
push:
branches:
- "*LIM-*"
jobs:
pull-request:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Open Pull Request
continue-on-error: true
id: open-pr
env:
GH_TOKEN: ${{ github.token }}
run: |
gh pr create --title "Automated PR" --body "Automated Body" --base master --head head
- name: update-pull-request
uses: LimeTray/update-pr-description-workflow@master
with:
destination_branch: master
github_token: ${{ secrets.GITHUB_TOKEN }}
The GITHUB_TOKEN secret. This is required.
The title of the PR. Optional.
The body of the PR
Base branch of the PR. Default is master.
Option to mark the job as failed in case there are errors during the action execution. Default is 'true'.
This action has no outputs.
Apache License, Version 2.0