Skip to content

OSDKDev/unlock-issues

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Targetting context's issue:

- uses: OSDKDev/unlock-issues@v1.1
  with:
    repo-token: "${{ secrets.GITHUB_TOKEN }}"

Sample file: .github/workflows/unlock-reopened-issues.yml

name: Unlock reopened issue

on: 
  issues:
    types: [reopened]

jobs:
  lock:
    runs-on: ubuntu-latest
    steps:
    - uses: OSDKDev/unlock-issues@v1.1
      with:
        repo-token: "${{ secrets.GITHUB_TOKEN }}"

As simple as that!

Targetting a specific issue / repo:

- uses: OSDKDev/unlock-issues@v1.1
  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}