Skip to content

osl-incubator/gh-check-pr-is-updated

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/[email protected]
        with:
          remote_branch: origin/main
          pr_sha: ${{ github.event.pull_request.head.sha }}

References

This GitHub actions: