-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (44 loc) · 1.81 KB
/
Copy pathUpdate-Index.yml
File metadata and controls
53 lines (44 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Update index
on:
workflow_call:
workflow_dispatch:
push:
schedule:
- cron: '0 * * * *'
permissions: {}
jobs:
update_index:
name: Update index
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Connect and show repos
uses: PSModule/GitHub-Script@1ee97bbc652d19c38ae12f6e1e47e9d9fbd12d0a # v1.8.0
with:
# Org-level shared secrets used across multiple repositories — no dedicated GitHub Environment needed.
ClientID: ${{ secrets.SCRIBBLER_BOT_CLIENT_ID }} # zizmor: ignore[secrets-outside-env]
PrivateKey: ${{ secrets.SCRIBBLER_BOT_PRIVATE_KEY }} # zizmor: ignore[secrets-outside-env]
Script: .github/scripts/Connect-And-Show-Repos.ps1
- name: Update module index
uses: PSModule/GitHub-Script@1ee97bbc652d19c38ae12f6e1e47e9d9fbd12d0a # v1.8.0
with:
Script: .github/scripts/Update-ModuleIndex.ps1
- name: Update action index
uses: PSModule/GitHub-Script@1ee97bbc652d19c38ae12f6e1e47e9d9fbd12d0a # v1.8.0
with:
Script: .github/scripts/Update-ActionIndex.ps1
- name: Update function app index
uses: PSModule/GitHub-Script@1ee97bbc652d19c38ae12f6e1e47e9d9fbd12d0a # v1.8.0
with:
Script: .github/scripts/Update-FunctionAppIndex.ps1
- name: Update workflow index
uses: PSModule/GitHub-Script@1ee97bbc652d19c38ae12f6e1e47e9d9fbd12d0a # v1.8.0
with:
Script: .github/scripts/Update-WorkflowIndex.ps1
- name: Commit changes
uses: PSModule/GitHub-Script@1ee97bbc652d19c38ae12f6e1e47e9d9fbd12d0a # v1.8.0
with:
Script: .github/scripts/Commit-Changes.ps1