A
A
Anton Shamanov2021-08-05 04:07:53
GitHub
Anton Shamanov, 2021-08-05 04:07:53

How to change the github repository file when adding a PR to it?

Tell me how to write an action that would add PR data to the repository file after merge to the master branch.
action.yml:

on pull_request_review:
  types:
    - submitted
  branches:
    - master
jobs:
  update-changelog:
    name: Update CHANGELOG.md
    if: ${{ github.event.review.state == 'approved' }}
    steps:
      - name: Get PR title and author
        run: ???
      - name: Add PR to log file
        run: ???

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question