Skip to content

Commit 5d708b1

Browse files
authored
[security-workflow] Fixed cron syntax (#2640)
1 parent 7c3d194 commit 5d708b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/security-php.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: PHP Security Check
1+
name: "PHP Security Check"
22

33
on:
44
# Run automatically every Monday on midnight.
55
schedule:
6-
- '0 0 * * 1'
6+
- cron: '0 0 * * 1'
77
# Run on pull requests only when composer.lock has changed.
88
pull_request:
99
paths:
@@ -13,7 +13,7 @@ on:
1313

1414
jobs:
1515
check:
16-
runs-on: ubuntu-latest
16+
runs-on: [ubuntu-latest]
1717

1818
steps:
1919
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)