Created
December 15, 2022 02:54
-
-
Save woozyking/086d3a4cafe58259ecfa632e241860bc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Main | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
commit-watch: | |
runs-on: ubuntu-latest | |
if: contains(github.event_name, 'pull_request') # only run on pull requests | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # needed for obtaining relevant commit metadata for commit-watch | |
- run: npx @eqworks/commit-watch -b ${{ github.event.pull_request.base.sha }} -h ${{ github.event.pull_request.head.sha }} -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment