Skip to content

Lock Issues

Actions
Locks an issue, to be used on an event
v1.2.1
Latest
Star (6)

Lock an issue. By default, it uses the context's but can be targetted.

Targetting context's issue:

- name: Lock issue
  uses: IOrlandoni/lock-issues@v1.2

Sample file: .github/workflows/lock-closed-issues.yml

name: Lock closed issue

on:
  issues:
    types: [closed]

jobs:
  lock:
    name: Lock
    runs-on: ubuntu-latest
    permissions:
      issues: write
    steps:
    - name: Lock issue
      uses: IOrlandoni/lock-issues@v1.2

As simple as that!

Targetting a specific issue / repo:

- name: Lock issue
  uses: IOrlandoni/lock-issues@v1.2
  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}

Lock Issues is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Locks an issue, to be used on an event
v1.2.1
Latest

Lock Issues is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.