mirror of
https://github.com/simple-icons/simple-icons.git
synced 2024-12-16 01:10:30 +02:00
Merge pull request from GHSA-xp96-pghg-87vx
This commit is contained in:
parent
c2eb7fd6c2
commit
a41a8897b9
4
.github/workflows/autoclose-issues.yml
vendored
4
.github/workflows/autoclose-issues.yml
vendored
@ -12,11 +12,13 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- id: match-java
|
- id: match-java
|
||||||
name: Match Java
|
name: Match Java
|
||||||
|
env:
|
||||||
|
ISSUE_TITLE: ${{ github.event.issue.title }}
|
||||||
# if the title contains the word Java (case insensitive)
|
# if the title contains the word Java (case insensitive)
|
||||||
# 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)
|
# 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)
|
||||||
# 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)
|
# 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)
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{ github.event.issue.title }}" =~ (^|[[:space:]])([jJ][aA][vV][aA])([[:space:]]|$) ]]; then
|
if [[ "$ISSUE_TITLE" =~ (^|[[:space:]])([jJ][aA][vV][aA])([[:space:]]|$) ]]; then
|
||||||
echo "match=true" >> $GITHUB_OUTPUT
|
echo "match=true" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user