Lock an issue. By default, it uses the context's but can be targetted.
- uses: OSDKDev/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
name: Lock closed issue
on:
issues:
types: [closed]
jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: OSDKDev/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
As simple as that!
- uses: OSDKDev/[email protected]
with:
repo-token: {Token with permissions over the target repository / issue}
owner-name: {Owner Name - Optional - Default: Context's Repository Owner}
repo-name: {Repository Name - Optional - Default: Context's Repository}
issue-number: {Issue Number - Optional - Default: Context's Issue}