Skip to content

Merge pull request #9 from imjasonh/remove-analyze-mode #22

Merge pull request #9 from imjasonh/remove-analyze-mode

Merge pull request #9 from imjasonh/remove-analyze-mode #22

Workflow file for this run

name: Malcontent Analysis on Push
on:
push:
branches: [main, develop]
permissions:
contents: read
jobs:
malcontent:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 2 # Need at least 2 commits for HEAD~1
- name: Run Malcontent Diff
uses: ./ # In actual usage, this would be: imjasonh/malcontent-action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
# Will automatically use HEAD vs HEAD~1 for diff
fail-on-increase: true
# No PR to comment on, results will go to workflow summary