Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 679 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 679 Bytes

gh-pr-is-updated: A GitHub Checker for PR if it is updated

This GitHub actions aims to check if the current PR's branch is updated on top of the upstream branch.

How to use

Include the following into your github actions step

      - name: Check if the PR's branch is updated
        uses: osl-incubator/gh-check-pr-is-updated@1.0.0
        with:
          remote_branch: origin/main
          pr_sha: ${{ github.event.pull_request.head.sha }}

References

This GitHub actions: