Skip to content

SanketDG/hacktoberfix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Hacktoberfix!

You will never get that T-shirt!

Dear OSS Maintainers,

Tired of closing and commenting on PRs this October after marking them as invalid? Have this simple action do it for you!

See what happens at #1

Create a noshirt.yml in .github/workflows:

name: No T-Shirts for you!

on:
  pull_request:
    types: [ labeled ]

jobs:
  build:
    if: ${{ github.event.label.name == 'invalid' }}
    runs-on: ubuntu-latest

    steps:
    - uses: superbrothers/close-pull-request@v2
      with:
        # You can be more rude if you want to.
        comment: "You will never get that T-Shirt! 👕🚫"
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    - uses: "jessfraz/branch-cleanup-action@master"
      env:
        NO_BRANCH_DELETED_EXIT_CODE: 0

About

Fix your October

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published