Skip to content

Commit

Permalink
Update auto-stop-status-check.yaml (#842)
Browse files Browse the repository at this point in the history
This file works https://github.com/hmcts/auto-shutdown/blob/master/.github/workflows/housekeeping_aks_issuejson.yaml with the exact same account , but this run for some reason does not have access to push to a branch...

This is the only difference I can see between the two that's common to the goal of pushing a change
  • Loading branch information
reespozzi authored Oct 28, 2024
1 parent 76e2f82 commit 1b0393a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/auto-stop-status-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
workflow_dispatch:
schedule:
- cron: "30 19,22 * * *" # Every day at 20:30 and 23:30 BST
env:
GH_TOKEN: ${{ secrets.PLATFORM_USER_TOKEN }}
permissions:
id-token: write
jobs:
Expand All @@ -11,6 +13,9 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: '0'
token: ${{ env.GH_TOKEN }}

- name: "Az CLI login"
uses: azure/login@v2
Expand Down

0 comments on commit 1b0393a

Please sign in to comment.