This GitHub actions aims to check if the current PR's branch is updated on top of the upstream branch.
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 }}
This GitHub actions:
- is based on the following tutorial: https://shipyard.build/blog/your-first-python-github-action/
- and very inspired on https://github.com/cirolini/chatgpt-github-actions