Skip to content

Commit

Permalink
enhance pull check
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama authored Nov 5, 2023
1 parent 192eef2 commit 2e77703
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Close PR if commit message contains "main.go"
if: contains(github.event.pull_request.title, 'main.go')
- name: Close PR if commit message contains ".go"
if: contains(github.event.pull_request.title, '.go')
uses: superbrothers/close-pull-request@v3
with:
# Optional. Post a issue comment just before closing a pull request.
Expand Down

0 comments on commit 2e77703

Please sign in to comment.