Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a41a889

Browse files
authored
Merge pull request from GHSA-xp96-pghg-87vx
1 parent c2eb7fd commit a41a889

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/autoclose-issues.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ jobs:
1212
uses: actions/checkout@v4
1313
- id: match-java
1414
name: Match Java
15+
env:
16+
ISSUE_TITLE: ${{ github.event.issue.title }}
1517
# if the title contains the word Java (case insensitive)
1618
# 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)
1719
# 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)
1820
run: |
19-
if [[ "${{ github.event.issue.title }}" =~ (^|[[:space:]])([jJ][aA][vV][aA])([[:space:]]|$) ]]; then
21+
if [[ "$ISSUE_TITLE" =~ (^|[[:space:]])([jJ][aA][vV][aA])([[:space:]]|$) ]]; then
2022
echo "match=true" >> $GITHUB_OUTPUT
2123
fi
2224

0 commit comments

Comments
 (0)