RCP Notifier #504
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: RCP Notifier | |
| on: | |
| schedule: | |
| - cron: '43 9 * * *' # 9.43am UTC | |
| env: | |
| STAGE_RCP_OFFSET_DAYS: ${{ secrets.STAGE_RCP_OFFSET_DAYS }} | |
| MILO_DEV_HOOK: ${{ secrets.MILO_DEV_HOOK }} | |
| jobs: | |
| rcp-notification: | |
| if: github.repository_owner == 'adobecom' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
| - name: Create RCP Notification | |
| uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea | |
| with: | |
| script: | | |
| const main = require('./.github/workflows/rcp-notifier.js') | |
| main({ github, context }) |