Skip to content

Auto Close Fixed Issues

Actions

About

Automatically close issues fixed in pull requests that doesn t target the default branch
v1.1.0
Latest
Star (3)

Tags

 (1)

Auto Close Issues

Automatically close issues fixed in pull requests that doesn't target the default branch.

Comment keywords are documented here:

Fixes #1,#2,#3
close #1, #2, #3
fix #1 #2 #3
resolve #1,#2 #3
Resolves: #1,#2,#3
closed : #1, #2, #3

Usage

Create a file named .github/workflows/auto-close-fixed-issues.

name: Auto Close Issues

on:
  pull_request:
    types: [closed]
jobs:
  close:
    runs-on: ubuntu-latest
    steps:
      - uses: wow-actions/auto-close-fixed-issues@v1
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          # optional comment
          # comment: 'This issue was closed by #{{ pr }}.'
          # default ignore the pr merge to the default branch
          # ignore: true

License

The scripts and documentation in this project are released under the MIT License.

Auto Close Fixed 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

Automatically close issues fixed in pull requests that doesn t target the default branch
v1.1.0
Latest

Tags

 (1)

Auto Close Fixed 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.