forked from cds-snc/labels
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: created local '.github/workflows/export_github_data.yml' from …
…remote 'tools/sre_file_sync/export_github_data.yml'
- Loading branch information
1 parent
285a7e1
commit 75e8a5c
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | ||
- 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 }} |