Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/.ncmake-workflows.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
"source": "nextcloud"
},
"workflow-updater.yml": {
"hash": "ea3b70d0fdd6a7d7073418b7b75742195712fe51ab8320a1e24ab3e004d0e9e8",
"sha": "0147c7cd66aa09985b95e86e370f81e625b3314e",
"hash": "336f88603161615da3dcadaa3c02185b816ebcbb87fa9c5fb532fad42e8d60cf",
"sha": "1407e592f85bbd1299cc5ff5e2db1eec861d0182",
"source": "ncmake"
}
}
10 changes: 7 additions & 3 deletions .github/workflows/workflow-updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,19 @@
# minted per run as a short-lived token. The app is required because the default
# GITHUB_TOKEN may not push workflow files, and it is preferred over a PAT
# because the same token both pushes the files and produces verified, signed
# commits. Store its credentials as the NCMAKE_UPDATER_APP_ID and
# commits. Store its credentials as the NCMAKE_UPDATER_CLIENT_ID and
# NCMAKE_UPDATER_PRIVATE_KEY secrets. See doc/AUTOUPDATE_WORKFLOW.md and
# doc/GITHUB_APP.md.

name: ncmake workflow update

on:
schedule:
- cron: '30 5 * * *' # daily 05:30 UTC
# Daily at 05:30 UTC. GitHub starts scheduled runs on a best-effort basis and
# delays them under load, so expect this a few hours late, not on the minute
# (see doc/AUTOUPDATE_WORKFLOW.md). Trigger workflow_dispatch to run without
# waiting for the schedule.
- cron: '30 5 * * *'
workflow_dispatch:

permissions:
Expand All @@ -36,7 +40,7 @@ jobs:
id: app-token
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
with:
app-id: ${{ secrets.NCMAKE_UPDATER_APP_ID }}
client-id: ${{ secrets.NCMAKE_UPDATER_CLIENT_ID }}
private-key: ${{ secrets.NCMAKE_UPDATER_PRIVATE_KEY }}

- name: Checkout
Expand Down
Loading