Skip to content

Mock Server

Mock Server #67

name: Mock Server
on:
schedule:
# Runs "At 00:00 on day-of-month 1 and 15"
- cron: '0 0 1,15 * *'
workflow_dispatch:
env:
HOMEBREW_NO_INSTALL_CLEANUP: 1 # Disable cleanup for homebrew, we don't need it on CI
jobs:
sync:
name: Sync
runs-on: macos-14
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/bootstrap
- uses: ./.github/actions/python-cache
- run: bundle exec fastlane sync_mock_server
timeout-minutes: 5
env:
GITHUB_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
- uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
text: "You shall not pass!"
job_name: "${{ github.workflow }}: ${{ github.job }}"
fields: message,commit,author,action,workflow,job,took
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
MATRIX_CONTEXT: ${{ toJson(matrix) }}
if: failure()