action-git-commit-push/.github/workflows/macos_action_test.yml

41 lines
1.1 KiB
YAML
Raw Normal View History

name: Action test on MacOS
on:
schedule:
- cron: "0 4 * * *" # Runs at 04:00 UTC everyday
push:
workflow_dispatch:
jobs:
macos-minimal:
runs-on: macos-latest
if: github.event_name != 'push'
steps:
- uses: actions/checkout@v2.3.4
- run: date > reports/macos_report_minimal.txt
- uses: GuillaumeFalourd/git-commit-push@main
macos-full:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2.3.4
- run: date > reports/macos_report_full.txt
- uses: GuillaumeFalourd/git-commit-push@main
with:
email: ${{ github.actor }}[bot]@users.noreply.github.com
name: ${{ github.actor }}
commit_message: macos full workflow
target_branch: macos
files: reports/macos_report_full.txt
remote_repository: origin
access_token: ${{ github.token }}
force: true
empty: true
2021-12-21 09:59:22 -03:00
tags: true
macos-nochanges:
2021-12-21 09:59:32 -03:00
runs-on: macos-latest
2021-12-21 09:59:22 -03:00
steps:
- uses: actions/checkout@v2.3.4
- uses: GuillaumeFalourd/git-commit-push@main