Merge pull request #397 from JP-Ellis/feat/strip-fixup #478
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: Test GitHub Action | |
on: [push, pull_request] | |
jobs: | |
run: | |
name: Lint Commits | |
if: github.event_name != 'pull_request' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Actions Repository | |
uses: actions/checkout@v4 | |
- name: Run Committed | |
uses: ./ | |
with: | |
args: "-vv" | |
commits: "HEAD" | |
run_pr: | |
name: Lint Commits (PR) | |
if: github.event_name == 'pull_request' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Actions Repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Run Committed | |
uses: ./ |