Skip to content

Commit

Permalink
Merge pull request #9 from LyonSyonII/dev
Browse files Browse the repository at this point in the history
Add pr-description to CI
  • Loading branch information
LyonSyonII authored Dec 7, 2023
2 parents 25aba97 + 0b0b595 commit a04c080
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
File renamed without changes.
26 changes: 26 additions & 0 deletions .github/workflows/pr-description.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Update PR description

on:
pull_request:
types:
- opened
- reopened
- synchronize

jobs:
update-pr-description:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: octue/[email protected]
id: pr-description
with:
pull_request_url: ${{ github.event.pull_request.url }}
api_token: ${{ secrets.GITHUB_TOKEN }}

- name: Update pull request body
uses: riskledger/update-pr-description@v2
with:
body: ${{ steps.pr-description.outputs.pull_request_description }}
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a04c080

Please sign in to comment.