Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/osl-incubator/gh-check-pr-is-updated
- Owner: osl-incubator
- License: bsd-3-clause
- Created: 2023-07-06T17:11:12.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-04T01:47:02.000Z (over 1 year ago)
- Last Synced: 2024-11-06T04:18:34.350Z (10 days ago)
- Topics: checker, github-actions, lifecycle-maintenance, pull-requests
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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