You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/stale.yml
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,19 @@ on:
4
4
schedule:
5
5
- cron: "0 0 * * *"
6
6
7
+
permissions:
8
+
contents: read
9
+
7
10
jobs:
8
11
stale:
9
12
13
+
permissions:
14
+
issues: write # for actions/stale to close stale issues
15
+
pull-requests: write # for actions/stale to close stale PRs
10
16
runs-on: ubuntu-latest
11
17
12
18
steps:
13
-
- uses: actions/stale@v1
19
+
- uses: actions/stale@v5
14
20
with:
15
21
repo-token: ${{ secrets.GITHUB_TOKEN }}
16
22
stale-issue-message: 'This issue is stale because it has been open for 120 days with no activity. Remove the `stale` label or comment or this will be closed in 15 days'
<li class="bullet success">The <em><?=$settings['className'] ?>Engine</em> is being used for core caching. To change the config edit config/app.php</li>
149
+
<li class="bullet success">The <em><?=h($settings['className'])?></em> is being used for core caching. To change the config edit config/app.php</li>
151
150
<?phpelse : ?>
152
151
<li class="bullet problem">Your cache is NOT working. Please check the settings in config/app.php</li>
153
152
<?phpendif; ?>
@@ -165,7 +164,7 @@
165
164
<?phpif ($result['connected']) : ?>
166
165
<li class="bullet success">CakePHP is able to connect to the database.</li>
167
166
<?phpelse : ?>
168
-
<li class="bullet problem">CakePHP is NOT able to connect to the database.<br /><?=$result['error'] ?></li>
167
+
<li class="bullet problem">CakePHP is NOT able to connect to the database.<br /><?=h($result['error'])?></li>
0 commit comments