mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-04-20 17:46:47 +00:00
chore: created local '.github/workflows/export_github_data.yml' from remote 'tools/sre_file_sync/export_github_data.yml'
This commit is contained in:
parent
c004503970
commit
18170aebd2
1 changed files with 25 additions and 0 deletions
25
.github/workflows/export_github_data.yml
vendored
Normal file
25
.github/workflows/export_github_data.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
name: GitHub repository metadata exporter
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "20 7 * * *"
|
||||
|
||||
jobs:
|
||||
export-data:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Audit DNS requests
|
||||
uses: cds-snc/dns-proxy-action@main
|
||||
env:
|
||||
DNS_PROXY_FORWARDTOSENTINEL: "true"
|
||||
DNS_PROXY_LOGANALYTICSWORKSPACEID: ${{ secrets.LOG_ANALYTICS_WORKSPACE_ID }}
|
||||
DNS_PROXY_LOGANALYTICSSHAREDKEY: ${{ secrets.LOG_ANALYTICS_WORKSPACE_KEY }}
|
||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||
- name: Export Data
|
||||
uses: cds-snc/github-repository-metadata-exporter@main
|
||||
with:
|
||||
github-app-id: ${{ secrets.SRE_BOT_RO_APP_ID }}
|
||||
github-app-installation-id: ${{ secrets.SRE_BOT_RO_INSTALLATION_ID }}
|
||||
github-app-private-key: ${{ secrets.SRE_BOT_RO_PRIVATE_KEY }}
|
||||
log-analytics-workspace-id: ${{ secrets.LOG_ANALYTICS_WORKSPACE_ID }}
|
||||
log-analytics-workspace-key: ${{ secrets.LOG_ANALYTICS_WORKSPACE_KEY }}
|
Loading…
Add table
Add a link
Reference in a new issue