Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/osl-incubator/gh-check-pr-is-updated


https://github.com/osl-incubator/gh-check-pr-is-updated

checker github-actions lifecycle-maintenance pull-requests

Last synced: 1 day ago
JSON representation

Awesome Lists containing this project

README

        

# 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

```yaml
- 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:
- 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