Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 859 Bytes

README.md

File metadata and controls

32 lines (27 loc) · 859 Bytes

Git Submodule Status Commenter

This action informs reviewers about the submodule status in the PR:

Submodule "foo" status

Configuration

name: Submodule status commenter
on:
    pull_request:
        types: [opened, synchronize, reopened, ready_for_review]
jobs:
    run:
        runs-on: ubuntu-latest
        steps:
            - uses: actions/checkout@v4
              with:
                  token: ${{ secrets.GITHUB_TOKEN }}
                  submodules: true

            - uses: rematocorp/submodule-status-commenter@v2
              with:
                  github-token: ${{ secrets.GITHUB_TOKEN }}