Sync Managed Files #70
This file contains hidden or 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
| name: Sync Managed Files | |
| on: | |
| schedule: | |
| - cron: '0 6 * * *' # Daily at 06:00 UTC | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| sync-files: | |
| name: Sync files to subscribing repositories | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
| - name: Sync managed files | |
| uses: PSModule/GitHub-Script@e3b0111c93df3686061cb2c65054f9216ed265e5 # main | |
| with: | |
| Script: ./scripts/Sync-Files.ps1 | |
| ClientID: ${{ secrets.CUSTO_BOT_CLIENT_ID }} | |
| PrivateKey: ${{ secrets.CUSTO_BOT_PRIVATE_KEY }} |