Skip to content

Commit

Permalink
test(fix-script-injections): fix typo on file names
Browse files Browse the repository at this point in the history
Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>
  • Loading branch information
diogoteles08 committed Mar 7, 2024
1 parent 71a8172 commit 7abadb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@ on: [pull_request]

env:
SUPER_RELEVANT: "bla"
ISSUE_TITLE: ${{ github.event.issue.title }}

jobs:
build:
runs-on: ubuntu-latest
steps:
- run: |
if [[ ! "$ISSUE_TITLE" =~ ^.*:\ .*$ ]]; then
if [[ ! "${{ github.event.issue.title }}" =~ ^.*:\ .*$ ]]; then
echo "Bad issue title"
exit 1
fi
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ on: [pull_request]

env:
SUPER_RELEVANT: "bla"
ISSUE_TITLE: ${{ github.event.issue.title }}

jobs:
build:
runs-on: ubuntu-latest
steps:
- run: |
if [[ ! "${{ github.event.issue.title }}" =~ ^.*:\ .*$ ]]; then
if [[ ! "$ISSUE_TITLE" =~ ^.*:\ .*$ ]]; then
echo "Bad issue title"
exit 1
fi

0 comments on commit 7abadb6

Please sign in to comment.