Skip to content

Random break

Random break #2465

Workflow file for this run

name: Random break
on:
schedule:
- cron: '0 9,12,15 * * 1-5' #9AM,12PM,03PM UTC (10AM,01PM,04PM AMS time), Monday to Friday
jobs:
randomBreak:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
- name: Configure Git
run: |
git config --local user.email "[email protected]"
git config --local user.name "Manish Rathi"
- name: Random break message
env:
SLACK_API_TOKEN: ${{ secrets.SLACK_API_TOKEN }}
FL_POST_TO_SLACK_CHANNEL: ${{ secrets.FL_POST_TO_SLACK_CHANNEL }}
SLACK_WORKSPACE_NAME: ${{ secrets.SLACK_WORKSPACE_NAME }}
run: bundle exec fastlane random_break_slack_message