Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2eb7fd commit a41a889Copy full SHA for a41a889
1 file changed
.github/workflows/autoclose-issues.yml
@@ -12,11 +12,13 @@ jobs:
12
uses: actions/checkout@v4
13
- id: match-java
14
name: Match Java
15
+ env:
16
+ ISSUE_TITLE: ${{ github.event.issue.title }}
17
# if the title contains the word Java (case insensitive)
18
# we make sure that this word is the end of the string or is followed by a space character (ex. we do not want to match javascript)
19
# we make sure that this word is the beginning of the string or is preceded by a space character (ex. we do not want to match foojava)
20
run: |
- if [[ "${{ github.event.issue.title }}" =~ (^|[[:space:]])([jJ][aA][vV][aA])([[:space:]]|$) ]]; then
21
+ if [[ "$ISSUE_TITLE" =~ (^|[[:space:]])([jJ][aA][vV][aA])([[:space:]]|$) ]]; then
22
echo "match=true" >> $GITHUB_OUTPUT
23
fi
24
0 commit comments