Skip to content

sudo-bot/action-pull-request-lock

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Lock a pull-request

This action locks a pull-request

Example usage

  - name: lock pull request
    uses: sudo-bot/[email protected]
    with:
        github-token: ${{ secrets.GITHUB_TOKEN }}
        number: ${{ github.event.pull_request.number }}
        lock-reason: resolved